Hi,
I'm creating application with Gears Geolocation. And it works fine in
all browsers(FF, Chrome, Safari) except IE(6,7,8).
The problem is that when it returns street_name in Russian language,
it returns something like "????????, ???".

And I discovered that even if I'm doing this for official example of
gears geolocation - hello_world_geolocation.html adding alert for
street name:
    var address = p.gearsAddress.city + ', '
                  + p.gearsAddress.region + ', '
                  + p.gearsAddress.country + ' ('
                  + p.latitude + ', '
                  + p.longitude + ')';
    alert(p.gearsAddress.street);
    clearStatus();
    addStatus('Your address is: ' + address);
This code will alert "????????, ???" for russian street_names.
I checked what requests are send to server from different browsers.
And in Firefox headers are:
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/
*;q=0.8
Accept-Charset: windows-1251,utf-8;q=0.7,*;q=0.7
Accept-Encoding: gzip,deflate
Accept-Language: ru,en-us;q=0.7,en;q=0.3
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.9.0.11)
Gecko/2009060215 Firefox/3.0.11;

But in IE:
Accept: */*
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/
4.0).

You see - no  "Accept-Charset" and no "Accept-Language".
I can not find any solution for this. It seems that this error will
occure in IE for other languages also.

Thanks very much for your help.
Dima.

Reply via email to