View Single Post
Posts: 26 | Thanked: 2 times | Joined on Dec 2005
#83
Originally Posted by gnuite
Thanks for your feedback. I haven't yet figured out why non-ASCII characters cause parsing errors - the XML parsing code should be able to handle arbitrary UTF-8, although I haven't tested this fully. I will attempt to address all of these kinds of issues as I introduce localization into the codeline.
An observation which may help:
It seems to me that the server (gpx driving instructions) returns a page which is encoded in ISO-8859-1 rather than utf-8. I saved the page, converted it to utf-8 on my desktop (using iconv -f 8859_1 -t UTF-8) and loaded the converted page in maemo-mapper without error .

Another, more cosmetic problem: where one would expect the word "straße" (german for street) in the description, the server returns "Stravenueße" instead. Strangely enough this doesn't happen if "straße" occurs together in one word with its name (e.g. "foostraße" is returned correctly while "foo straße" is not).

Regards,
Reiner