AbdFatah / analytics-issues

Automatically exported from code.google.com/p/analytics-issues
0 stars 0 forks source link

an issue with hebrew (utf8?) charachters in filters in 2.4 reporting api #249

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Name of affected component: Core Reporting API

Name of related library and version, if applicable (e.g. Java, Python,
HTTP, Objective-C, etc.): PHP (unofficial using Zend GData framework)

Issue summary:
please note: this defect is regarding version 2.4 of the API.
when using plain utf-8 characters for filters such as on ga:keyword field the 
wrong matching occurs and the wrong metrics are calculates for ga:visits field.

Steps to reproduce issue:
1. get access to a site in Hebrew.
2. try using the following filter: ga:keyword=~^צלמים$

Expected output:
Same results as in the user inferface.

Actual results:
You would get some result X which is smaller from the result in the user 
interface.

Notes:
When I try using the same filter after a regex escaping - 
ga:keyword=~^\\x{05E6}\\x{05DC}\\x{05DE}\\x{05D9}\\x{05DD}$
I get the correct result (though it is much less useful since there is a regex 
length limit of 128 characters).

Original issue reported on code.google.com by i...@zefo.co.il on 13 Dec 2012 at 8:17