german umlauts äöü in style files

Hi @ all, since a couple of months I struggle with german umlauts äöü in style files. My task is: man_made=windmill [0x2c04 level 0 default_name 'Windmühle'] man_made=watermill [0x2c04 level 0 default_name 'Wassermühle'] The code-page in my args-file is set to 1252, the style is saved with WinXPs notepad as ANSI and as UTF-8; both produce the same unexpected output: the "ü" becomes always a "?". Same happens when I set the name explicitly {name 'Windmühle'}. My TYP.txt is saved as ANSI as well and the "äöü" works as expected. I'm not able to patch the mkgmap sources to apply other people's patches to run own tests, so I ask goggle and bing for solutions for ages. But all I get is Ulf's mail from 2009 ( http://www.mkgmap.org.uk/pipermail/mkgmap-dev/2009q1/001436.html). Hopefully someone has a clue, joern.de

Hi
the style is saved with WinXPs notepad as ANSI and as UTF-8; both produce the same unexpected output: the "ü" becomes always a "?". Same happens when I set the name explicitly {name 'Windmühle'}.
If you save as ANSI then it would become a "?", but it ought to work if saved as utf-8. So first we need to check if it is really being saved in utf-8. If you upload the relevant style file to files.mkgmap.org.uk I can check it. Best wishes ..Steve
participants (2)
-
joern de
-
Steve Ratcliffe