logo separator

[mkgmap-dev] Encoding problems

From Marko Mäkelä marko.makela at iki.fi on Wed Mar 9 15:00:13 GMT 2011

On Wed, Mar 09, 2011 at 04:02:38PM +0200, Rich wrote:
>so it might be that the file has properly encoded characters, but the 
>device does not properly display them ?

That is a possibility. Do the older Garmins (such as GPSMap 60 and Edge 
605/705) support anything else than the ISO 8859-1 like CP1252? I think 
that I saw some hacked Russian firmware somewhere, with some 8-bit 
Cyrillic encoding support, I suppose.

>if i "manually" compare what they look like on the gps device and 
>onscreen, result on gps device seems to match what i get if i look at 
>cp1257 (or iso-8859-13) encoded text in a unicode terminal...

Do you mean UTF-8 interpreted as if it were cp1257 (multiple characters 
per non-ASCII character)? Anything non-UTF-8, non-ASCII interpreted as 
UTF-8 should show as � (U+FFFD).

echo -e '\xdb\xc2\xd2\xcf\xde\r'|recode cp1257..utf8
echo -e '\xdb\xc2\xd2\xcf\xde\r'|recode cp1252..utf8

The former interprets the codes as CP1257 and the latter as CP1252. Did 
you see the latter on your GPS?


More information about the mkgmap-dev mailing list