logo separator

[mkgmap-dev] Encoding problems

From Rich richlv at nakts.net on Wed Mar 9 15:10:04 GMT 2011

On 03/09/11 17:00, Marko Mäkelä wrote:
> 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.

no idea about older ones, but this specimen is etrex vista hcx

>> 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?

the latter seems like what i'm seeing on the device with --codepage=cp-1257

> 	Marko
-- 
  Rich



More information about the mkgmap-dev mailing list