[mkgmap-dev] mkgmap: problems with encoding file used with option --license-file
From Patrik Brunner patrik.brunner at gmx.net on Mon Dec 5 19:18:35 GMT 2016
Steve, I've just replaced the mkgmap.jar and started the process again.... unfortunately it's not running through and throws an exception when trying to compile the TYP files (independant if I try to build unicode things or cp1252 things): java -Xmx1536M -jar D:/fzk/develop/fzk-mde-garmin/Freizeitkarte-Entwicklung/tools/mkgmap/mkgmap.jar --max-jobs=2 --product-id=1 --family-id=6442 contrast.txt Time started: Mon Dec 05 20:01:08 CET 2016 Number of MapFailedExceptions: 0 Exception in thread "main" java.nio.charset.UnsupportedCharsetException: cp0 at java.nio.charset.Charset.forName(Unknown Source) at uk.me.parabola.imgfmt.app.labelenc.AnyCharsetDecoder.<init>(AnyCharsetDecoder.java:27) at uk.me.parabola.imgfmt.app.labelenc.CodeFunctions.createEncoderForLBL(CodeFunctions.java:104) at uk.me.parabola.imgfmt.app.labelenc.CodeFunctions.createEncoderForLBL(CodeFunctions.java:127) at uk.me.parabola.tdbfmt.Block.<init>(Block.java:56) at uk.me.parabola.tdbfmt.TdbFile.write(TdbFile.java:155) at uk.me.parabola.mkgmap.combiners.TdbBuilder.writeTdbFile(TdbBuilder.java:190) at uk.me.parabola.mkgmap.combiners.TdbBuilder.onFinish(TdbBuilder.java:182) at uk.me.parabola.mkgmap.main.Main.endOptions(Main.java:610) at uk.me.parabola.mkgmap.CommandArgsReader.readArgs(CommandArgsReader.java:128) at uk.me.parabola.mkgmap.main.Main.mainStart(Main.java:135) at uk.me.parabola.mkgmap.main.Main.main(Main.java:106) Using the new mkgmap.jar only for the real build process runs at least through, but the result ist just different but still scrambled: For unicode map: still scrambled, just differently (c) Contour data: U.S. Geological Survey or J. de Ferranti (free for research and private use) (c) Map data: OSM contributors äöüéèê (ODbl) (c) Map: FZK project äöüéèê (free for research and private use) (c) Map: FZK project ᅢ내쌔태래땕 (free for research and private use) (c) Map data: OSM contributors ᅢ내쌔태래땕 (ODbl) (c) Contour data: U.S. Geological Survey or J. de Ferranti (free for research and private use) New Problem: cp1252 map scrambled now too: (c) Contour data: U.S. Geological Survey or J. de Ferranti (free for research and private use) (c) Map data: OSM contributors äöüéèê (ODbl) (c) Map: FZK project ¦??-|| (free for research and private use) (c) Map data: OSM contributors ¦??-|| (ODbl) (c) Contour data: U.S. Geological Survey or J. de Ferranti (free for research and private use) (c) Map: FZK project äöüéèê (free for research and private use) Cheers Patrik On 04.12.2016 22:09, Steve Ratcliffe wrote: > > Hi Patrik > > Please try this one: http://files.mkgmap.org.uk/download/319/mkgmap.jar > > The important file for this change is the tdb file. > Previously the copyright information was always > encoded with cp1252 whatever the declared code page was. > > So this makes a lot more sense, sorry about the last one as I wasn't > thinking straight! > > This change does not affect anything on the device, if you > used a gmapsupp created by mkgmap. > > ..Steve > _______________________________________________ > mkgmap-dev mailing list > mkgmap-dev at lists.mkgmap.org.uk > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20161205/0e745ad4/attachment.html>
- Previous message: [mkgmap-dev] mkgmap: problems with encoding file used with option --license-file
- Next message: [mkgmap-dev] mkgmap: problems with encoding file used with option --license-file
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list