[mkgmap-dev] Problem with compiling TYP containing Cyrillic characters (mkgmap r2673)
From keenonkites keenonkites at gmx.net on Tue Oct 8 13:42:02 BST 2013
Steve, thanks for the quick feedback.... think you're on the correct road.... taking awaz the CodePage=1251 from the source TXT file gives the following error: java -Xmx1536M -jar P:/Freizeitkarte/develop/fzk-mde-garmin.git/Freizeitkarte-Entwicklung/tools/mkgmap/mkgmap.jar --max-jobs=2 --code-page=1251 --product-id=1 --family-id=6442 freizeit.txt Time started: Tue Oct 08 14:28:04 CEST 2013 Compiling TYP txt file: Error: (freizeit.txt:1): Expecting '=' or ':' instead of ╗ Time finished: Tue Oct 08 14:28:04 CEST 2013 Total time taken: 166ms Converting the file to UTF-8 without BOM runs through properly. The resulting TYP is usable but doesn't show correct strings... looks like it interpretes the encoding incorrect, though..... you need a screenprint ? Thanks and regards Patrik On 08.10.2013 12:32, Steve Ratcliffe wrote: > On 08/10/13 10:55, keenonkites wrote: >> I have a properly translated source Text file (UTF-8 with BOM) for >> Russian containing, obviously, cyrillic characters. It contains >> definitions like (for example): >> >> [_line] >> Type=0x10103 >> UseOrientation=Y >> LineWidth=2 >> Xpm="0 0 1 0" >> "1 c #99CCCC" >> String1=0x19,Канал/ров >> ExtendedLabels=Y >> FontStyle=NoLabel (invisible) >> CustomColor=No >> [end] > Hi, > > I will have to look into this in more detail, but the first thing to do > is to remove the CodePage=1252 as mkgmap will try to read the file > as though it is in written in that code page. > > When you do that there is an error. I think that is probably caused by > the BOM. If so that should be easy to fix. > > ..Steve > _______________________________________________ > mkgmap-dev mailing list > mkgmap-dev at lists.mkgmap.org.uk > http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
- Previous message: [mkgmap-dev] Problem with compiling TYP containing Cyrillic characters (mkgmap r2673)
- Next message: [mkgmap-dev] Problem with compiling TYP containing Cyrillic characters (mkgmap r2673)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list