<HTML><HEAD>
<STYLE><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></STYLE>
</HEAD>
<BODY class=hmmessage dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial'; COLOR: #000000">
<DIV>Hi Steve and Gerd,</DIV>
<DIV> </DIV>
<DIV>yes, you got me right. I was talking about stderr output where echo
messages are printed.</DIV>
<DIV> </DIV>
<DIV>I have tried the following (under Windows):</DIV>
<DIV> </DIV>
<DIV>%JavaPath% -Xmx6144m -ea -jar
<STRONG>-Dlog.config=%OptionsPath%\logging_properties.txt</STRONG> </DIV>
<DIV>%ToolPath%\mkgmap\mkgmap.jar -c %OptionsPath%\%mkgmap_options%
</DIV>
<DIV>--mapname=%mapid% --overview-mapname=%overview_mapname% </DIV>
<DIV>--family-id=%family_id% --product-id=%product_id% </DIV>
<DIV>--gmapsupp %mkgmap_filename% </DIV>
<DIV>%StylesPath%\%StylesFile%
<STRONG>2>>%LogfileName%</STRONG></DIV>
<DIV> </DIV>
<DIV>content of logging_properties.txt is:</DIV>
<DIV> </DIV>
<DIV>java.util.logging.FileHandler.encoding=UTF-8</DIV>
<DIV>java.util.logging.ConsoleHandler.encoding=UTF-8</DIV>
<DIV> </DIV>
<DIV>I am still getting outputs of echo "name='${name}'” as: ‘???????
??????’</DIV>
<DIV>if the char set is not part of 1252 (e.g. for greek letters)</DIV>
<DIV> </DIV>
<DIV>I think I did not fully understand your hint with the logging
properties.</DIV>
<DIV> </DIV>
<DIV>Walter</DIV>
<DIV> </DIV>
<DIV
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'>
<DIV style="FONT: 10pt tahoma">
<DIV> </DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A
title=gpetermann_muenchen@hotmail.com
href="mailto:gpetermann_muenchen@hotmail.com">Gerd Petermann</A> </DIV>
<DIV><B>Sent:</B> Wednesday, January 14, 2015 11:03 AM</DIV>
<DIV><B>To:</B> <A title=mkgmap-dev@lists.mkgmap.org.uk
href="mailto:mkgmap-dev@lists.mkgmap.org.uk">mkgmap-dev@lists.mkgmap.org.uk</A>
</DIV>
<DIV><B>Subject:</B> Re: [mkgmap-dev] Solution to show transliterated name if no
other ascii name exists</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'>
<DIV dir=ltr>Hi Walter,<BR><BR>reg. UTF8 in logs:<BR>When I read your post my
first question was: Is he talking about the log<BR>that is written to
stderr/stdout or the one that is enabled with<BR>java -Dlog.config ... -jar
mkgmap.jar ...<BR><BR>I think the latter works fine, the first two look ugly
when they write to a <BR>windows console. They also look fine when you pipe them
to files<BR>like this<BR>java -Dlog.config ... -jar mkgmap.jar ... >
mkgmap.stdout 2>mkgmap.stderr<BR><BR>Gerd<BR><BR>
<DIV>> Date: Wed, 14 Jan 2015 09:15:50 +0000<BR>> From:
steve@parabola.me.uk<BR>> To: mkgmap-dev@lists.mkgmap.org.uk<BR>> Subject:
Re: [mkgmap-dev] Solution to show transliterated name if no other ascii name
exists<BR>> <BR>> Hi Walter,<BR>> <BR>> It's great to hear that it
is working well for you. It was just a few<BR>> lines of code, perhaps no one
asked before because they imagined it<BR>> would be more difficult.<BR>>
<BR>> <BR>> > Do you know, if the logfile can only be written in ANSI
coding,<BR>> > or if there is a way to use unicode for logfiles?<BR>>
<BR>> I don't know for sure, but make sure you have this included in<BR>>
your log.config file.<BR>>
java.util.logging.FileHandler.encoding=UTF-8<BR>> <BR>> and try adding
this too:<BR>> java.util.logging.ConsoleHandler.encoding=UTF-8<BR>>
<BR>> ..Steve<BR>> _______________________________________________<BR>>
mkgmap-dev mailing list<BR>> mkgmap-dev@lists.mkgmap.org.uk<BR>>
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev<BR></DIV></DIV>
<P>
<HR>
_______________________________________________<BR>mkgmap-dev mailing
list<BR>mkgmap-dev@lists.mkgmap.org.uk<BR>http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</DIV></DIV></DIV></BODY></HTML>