Hi Walter, reg. UTF8 in logs: When I read your post my first question was: Is he talking about the log that is written to stderr/stdout or the one that is enabled with java -Dlog.config ... -jar mkgmap.jar ...
I think the latter works fine, the first two look ugly when they write to a windows console. They also look fine when you pipe them to files like this java -Dlog.config ... -jar mkgmap.jar ... > mkgmap.stdout 2>mkgmap.stderr Gerd > Date: Wed, 14 Jan 2015 09:15:50 +0000 > From: [email protected] > To: [email protected] > Subject: Re: [mkgmap-dev] Solution to show transliterated name if no other > ascii name exists > > Hi Walter, > > It's great to hear that it is working well for you. It was just a few > lines of code, perhaps no one asked before because they imagined it > would be more difficult. > > > > Do you know, if the logfile can only be written in ANSI coding, > > or if there is a way to use unicode for logfiles? > > I don't know for sure, but make sure you have this included in > your log.config file. > java.util.logging.FileHandler.encoding=UTF-8 > > and try adding this too: > java.util.logging.ConsoleHandler.encoding=UTF-8 > > ..Steve > _______________________________________________ > mkgmap-dev mailing list > [email protected] > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________ mkgmap-dev mailing list [email protected] http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
