<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2604" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi all,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I've successfully been using the new ENCODING map
file setting to successfully display Chinese annotation on my maps - and it
works excellently! However, i'd also like the Legend and Scalebar to have
some kind of support for unicode character sets & localization in
general. Is this possible? I'm *not* using the HTML legend in this
case...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I seem to remember reading somewhere that .map
files must always be ASCII and not unicode. Is this true? Under
this assumption </FONT><FONT face=Arial size=2>I have tried to use PHP/MapScript
to dynamically change the class name to the appropriate unicode value.
This seems to "half work". I am getting chinese characters in the legend
but only half the number I would expect. Sounds to me like some code
somewhere is assuming that the number of characters is the same as the number of
bytes inside the MapServer internals. Can anyone comment on this - or
should I post this to mapserver-dev perhaps?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Also is it possible to change the "mi" (for
example) on the scalebar to some "localized" value? Additionally can the
"." character be altered as some European countries use a comma instead of a
full-stop.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Many thanks,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Steve H</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>