[mkgmap-dev] Problem with compiling TYP containing Cyrillic characters (mkgmap r2673)
From keenonkites keenonkites at gmx.net on Tue Oct 8 10:55:49 BST 2013
Gents, 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] Complete file can be downloaded at https://dl.dropboxusercontent.com/u/40846569/freizeit.zip Unfortunately mkgmap doesn't like it and fails to compile such a text file into a binary TYP file: 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 11:30:55 CEST 2013 java.lang.NullPointerException: charsetName at java.io.InputStreamReader.<init>(Unknown Source) at uk.me.parabola.mkgmap.main.TypCompiler.compile(TypCompiler.java:123) at uk.me.parabola.mkgmap.main.TypCompiler.makeMap(TypCompiler.java:70) at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:243) at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:239) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Exiting - if you want to carry on regardless, use the --keep-going option Time finished: Tue Oct 08 11:30:55 CEST 2013 Total time taken: 176ms Exact the same happens if I try to compile it with the option --code-page=65001 (for unicode). Any clue ? is this an enduser problem or a mkgmap problem ? Thanks for the help. Patrik -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20131008/427bf593/attachment.html
- Previous message: [mkgmap-dev] Utilizing route=bicycle relations in long-distance routing
- 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