@anonymous-piwik-user opened this Issue on February 3rd 2012

I see there is a fix on Piwik 0.2.33, FIXED #589 Piwik fails to properly decode and store some chinese keywords (eg. from baidu.com).

But I still see some url with chinese keywords are decoded wrong.
take below link for example, the keywords are ?, but in piwik they become "?", see also in attached screenshot file.
http://www.baidu.com/s?ch=14&ie=utf-8&wd=%E4%BA%8C%E5%BA%A6%E5%AE%AB%E9%A2%88%E7%B3%9C%E7%83%82%E8%83%BD%E6%B2%BB%E5%A5%BD%E5%90%97%3F&searchRadio=on

@anonymous-piwik-user commented on February 3rd 2012

Attachment: screenshot about chinese words decode
baidu.decode.jpg

@robocoder commented on February 3rd 2012 Contributor

There's a new featuren in #2761 that allows multiple encodings. We can try adding utf-8 to the baidu configuration (currently expects gb2312) and edward's url to the unit test.

@anonymous-piwik-user commented on February 4th 2012
@mattab commented on February 4th 2012 Member

IT sounds like new logic might need to be introduced for baidu (use UTF-8 when it is found as a parameter value, default to gb2312 otherwise?)

@robocoder commented on February 4th 2012 Contributor

(In [5755]) fixes #2901 - thanks edward!

@mattab commented on February 4th 2012 Member

I was wrong, that's good! :)

This Issue was closed on February 4th 2012
Powered by GitHub Issue Mirror