Skip to content


Subversion checkout URL

You can clone with
Download ZIP


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

mattab opened this Issue · 1 comment

1 participant


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.


(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
@mattab mattab added this to the 1.10 - Piwik 1.10 milestone
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.