Opened 17 months ago

Closed 17 months ago

Last modified 16 months ago

#3565 closed New feature (fixed)

Tracking API: new function setPageCharset to set the character set used on the tracked page

Reported by: matt Owned by:
Priority: major Milestone: 1.10 - Piwik 1.10
Component: Core Keywords:
Cc: Sensitive: no


By default Piwik expects UTF-8 encoded strings. Some Tracking API clients or websites are built in non utf8 eg. iso-8859-1

When non utf8 strings are set as "page title" or if Page URL parameters values are encoded in non utf8, we should decode these and reencode in UTF8.

In Javascript API the charset is automatically detected from the document charset.

In PHP This ticket will add a new API method to set the charset of strings recorded and tracked in piwik.

Change History (2)

comment:1 Changed 17 months ago by matt (mattab)

  • Resolution set to fixed
  • Status changed from new to closed

(In [7521]) Site search improvements

  • Support &kwd[]= notation fixes #3454
  • Support random text case fixes #3539
  • Fixes umlauts regression with non utf8 encoding: Fixes #3450
  • Adding setPageCharset() method to Tracking API FIxes #3565

comment:2 Changed 16 months ago by matt (mattab)

  • Priority changed from normal to major
Note: See TracTickets for help on using tickets.