<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=utf-8">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="State"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="City"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
_filtered {
font-family:Calibri;}
_filtered {
font-family:Tahoma;}
_filtered {margin:1.0in 1.0in 1.0in 1.0in;}

 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Calibri;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p.first, li.first, div.first
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
p.last, li.last, div.last
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
p.msochpdefault, li.msochpdefault, div.msochpdefault
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:10.0pt;
        font-family:"Times New Roman";}
span.emailstyle17
        {font-family:Calibri;
        color:#1F497D;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body bgcolor=white lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>This may or mat not apply so take it with
a grain of salt:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>When I experimented using ArcSDE 9.x w/
MSSQL Express as a source for GeoMoose, I experienced an issue regarding the
display of labels from an SDE source. <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>The issue I had was MapServer related and was
in regards to MapServer’s somewhat lack of UTF-8 implementation so-to-speak. It
actually accepts UTF-8 just fine, but any UTF-8-ish encoding sent to MapServer
is attempted to be converted into UTF-8 which is more often than not unsuccessful.
The “problem” with Windows is that it supports UTF-16 natively and so it must
convert any UTF-8 to that or another encoding each time. So, it is not efficiently
necessarily to implement UTF-8 encoding on a Windows box. I quote “problem”
because I don’t really think it is as they support a better version of UTF but
until the rest of the world catches up I guess it is an obstacle. <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Ok, so, how to work around the issue I had:
It required dumping ArcSDE’s settings to a file and editing the Unicode encoding
setting to disabled. Then all stored data needed to be reimported to take that
into affect. This works because the default collation of MSSQL is latin1, and
it would no longer be Unicode encoded latin1, or UTF-8-ish. The downfall is you
can only use characters in the set of latin1, which I think as you describe
will not cut it for you.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>If your data passes through MapServer,
then maybe some of this info is pertinent; some of it not-so-much but it may be
a start for your investigation.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> Matej
[mailto:matej@matnet.net] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Tuesday, November 04, 2008
11:06 AM<br>
<b><span style='font-weight:bold'>To:</span></b> Dan Little;
geomoose-users@lists.sourceforge.net<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [Geomoose-users]
Special characters - &quot;sh&quot;, &quot;ch&quot;,&quot;zh&quot; - Central
European symbols - part 2</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<div>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Still the same - I have been looking at the getHTTPObject -
could it be possible that it is connected to it somehow? Or with the part of
the code where the results are &quot;GET&quot; from MapServer? </span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Matej Serc</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><a href="mailto:matej@matnet.net">matej@matnet.net</a></span></font><o:p></o:p></p>

</div>

<blockquote style='border:none;border-left:solid black 1.5pt;padding:0in 0in 0in 4.0pt;
margin-left:3.95pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt'>

<div>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>----- Original Message ----- <o:p></o:p></span></font></p>

</div>

<div style='font-color:black'>

<p class=MsoNormal style='background:#E4E4E4'><b><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial;font-weight:bold'>From:</span></font></b><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'> <a
href="mailto:danlittle@yahoo.com" title="danlittle@yahoo.com">Dan Little</a> <o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><b><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial;font-weight:bold'>To:</span></font></b><font size=2
face=Arial><span style='font-size:10.0pt;font-family:Arial'> <a
href="mailto:matej@matnet.net" title="matej@matnet.net">Matej</a> ; <a
href="mailto:geomoose-users@lists.sourceforge.net"
title="geomoose-users@lists.sourceforge.net">geomoose-users@lists.sourceforge.net</a>
<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><b><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial;font-weight:bold'>Sent:</span></font></b><font size=2
face=Arial><span style='font-size:10.0pt;font-family:Arial'> Tuesday, November
04, 2008 4:52 PM<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><b><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial;font-weight:bold'>Subject:</span></font></b><font size=2
face=Arial><span style='font-size:10.0pt;font-family:Arial'> Re:
[Geomoose-users] Special characters - &quot;sh&quot;, &quot;ch&quot;,
&quot;zh&quot; - Central European symbols - part 2<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

<div>

<div>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>(Further &quot;Shot in the Dark&quot;)<br>
<br>
Okay, I would think about doing the following...<br>
1) Remove the Doctype<br>
2) Remove the meta http-equiv tag.<br>
<br>
Clear cache, reload, see what happens.<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>

<hr size=1 width="100%" align=center>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> Matej &lt;<a
href="mailto:matej@matnet.net">matej@matnet.net</a>&gt;<br>
<b><span style='font-weight:bold'>To:</span></b> Dan Little &lt;<a
href="mailto:danlittle@yahoo.com">danlittle@yahoo.com</a>&gt;; <a
href="mailto:geomoose-users@lists.sourceforge.net">geomoose-users@lists.sourceforge.net</a><br>
<b><span style='font-weight:bold'>Sent:</span></b> Tuesday, November 4, 2008
9:45:03 AM<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [Geomoose-users]
Special characters - &quot;sh&quot;, &quot;ch&quot;, &quot;zh&quot; - Central
European symbols - part 2<br>
</span></font><br>
 <o:p></o:p></p>

<div>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Yes, no matter what encoding is set in index.html the output
in the GeoMoose in the div &quot;content_results_form&quot; is always the same
- same strange characters (for example the char after &quot;o&quot; in this
string: &quot;Naro�nik&quot;.</span></font> <font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>There is supposed to be the symbol
for &quot;ch&quot;.).</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Matej Serc</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><a href="mailto:matej@matnet.net" target="_blank"
ymailto="mailto:matej@matnet.net">matej@matnet.net</a></span></font><o:p></o:p></p>

</div>

<blockquote style='border:none;border-left:solid black 1.5pt;padding:0in 0in 0in 4.0pt;
margin-left:3.95pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt'>

<div style='font-size-adjust: none;font-stretch: normal;-x-system-font: none'>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>----- Original Message ----- <o:p></o:p></span></font></p>

</div>

<div style='font-size-adjust: none;font-stretch: normal;-x-system-font: none;
-moz-background-clip: -moz-initial;-moz-background-origin: -moz-initial;
-moz-background-inline-policy: -moz-initial'>

<p class=MsoNormal style='background:#E4E4E4'><b><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial;font-weight:bold'>From:</span></font></b><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'> <a
href="mailto:danlittle@yahoo.com" target="_blank" title="danlittle@yahoo.com"
ymailto="mailto:danlittle@yahoo.com">Dan Little</a> <o:p></o:p></span></font></p>

</div>

<div style='font-size-adjust: none;font-stretch: normal;-x-system-font: none'>

<p class=MsoNormal><b><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial;font-weight:bold'>To:</span></font></b><font size=2
face=Arial><span style='font-size:10.0pt;font-family:Arial'> <a
href="mailto:matej@matnet.net" target="_blank" title="matej@matnet.net"
ymailto="mailto:matej@matnet.net">Matej</a> ; <a
href="mailto:geomoose-users@lists.sourceforge.net" target="_blank"
title="geomoose-users@lists.sourceforge.net"
ymailto="mailto:geomoose-users@lists.sourceforge.net">geomoose-users@lists.sourceforge.net</a>
<o:p></o:p></span></font></p>

</div>

<div style='font-size-adjust: none;font-stretch: normal;-x-system-font: none'>

<p class=MsoNormal><b><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial;font-weight:bold'>Sent:</span></font></b><font size=2
face=Arial><span style='font-size:10.0pt;font-family:Arial'> Tuesday, November
04, 2008 4:31 PM<o:p></o:p></span></font></p>

</div>

<div style='font-size-adjust: none;font-stretch: normal;-x-system-font: none'>

<p class=MsoNormal><b><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial;font-weight:bold'>Subject:</span></font></b><font size=2
face=Arial><span style='font-size:10.0pt;font-family:Arial'> Re:
[Geomoose-users] Special characters - &quot;sh&quot;, &quot;ch&quot;,
&quot;zh&quot; - Central European symbols - part 2<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

<div>

<div>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Have you tried changing the encoding settings in the
index.html file?<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>

<hr size=1 width="100%" align=center>

</span></font></div>

<p class=MsoNormal style='margin-bottom:12.0pt'><b><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> Matej &lt;<a
href="mailto:matej@matnet.net" target="_blank" ymailto="mailto:matej@matnet.net">matej@matnet.net</a>&gt;<br>
<b><span style='font-weight:bold'>To:</span></b> <a
href="mailto:geomoose-users@lists.sourceforge.net" target="_blank"
ymailto="mailto:geomoose-users@lists.sourceforge.net">geomoose-users@lists.sourceforge.net</a><br>
<b><span style='font-weight:bold'>Sent:</span></b> Tuesday, November 4, 2008
9:17:31 AM<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [Geomoose-users]
Special characters - &quot;sh&quot;, &quot;ch&quot;, &quot;zh&quot; - Central
European symbols - part 2</span></font><o:p></o:p></p>

<div>

<div>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Hi,</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I was looking at MapScript which would be an option, but due
to the following fact I think that there must be an &quot;easier&quot; solution
maybe with some XML settings&nbsp;or something like that&nbsp;- when I click on
the &quot;Identify&quot; tool and the result is open in the div
&quot;content_results_form&quot; as a part of the GeoMoose window, the
characters DO NOT appear correctly. But when I get the direct link to the
MapServer call&nbsp;(vith FireBug) that is being called by Geomoose, e.g.
&quot;http://xxx.xxx.xxx.xxx/cgi-bin/mapserv?map=/home/webuser/identif.map&amp;mapxy=468286.9195712629%20125082.02776175489&amp;imgext=468282.0218372162%20125066.72580171067%20468308.97320987994%20125086.39975033894&amp;layers=Boxes&amp;imgsize=974%20711&amp;mode=nquery&quot;
in a separated window or a tab, those characters DO appear correctly. And also
when I set the charset of that window when the data is appearing correctly the
same charset as the GeoMoose window has, they look as they should.</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>That is the fact that is bothering me and I suspect that
some method which performs the &quot;call&quot; of the Mapserver from GeoMoose
isn't capable of getting data differently than in utf-8, but it proves that
MapServer is returning the data in the iso-8859.2 charset correctly.</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Thank you in advance,</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Matej Serc</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>matej@matnet.net</span></font><o:p></o:p></p>

</div>

</div>

<blockquote style='border:none;border-left:solid black 1.5pt;padding:0in 0in 0in 4.0pt;
margin-left:3.95pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt'>

<div style='font-size-adjust: none;font-stretch: normal;-x-system-font: none'>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>----- Original Message ----- <o:p></o:p></span></font></p>

</div>

<div style='font-size-adjust: none;font-stretch: normal;-x-system-font: none;
-moz-background-clip: -moz-initial;-moz-background-origin: -moz-initial;
-moz-background-inline-policy: -moz-initial'>

<p class=MsoNormal style='background:#E4E4E4'><b><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial;font-weight:bold'>From:</span></font></b><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'> <a
href="mailto:bfischer@houstonengineeringinc.com" target="_blank"
title="bfischer@houstonengineeringinc.com"
ymailto="mailto:bfischer@houstonengineeringinc.com">Fischer, Brian</a> <o:p></o:p></span></font></p>

</div>

<div style='font-size-adjust: none;font-stretch: normal;-x-system-font: none'>

<p class=MsoNormal><b><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial;font-weight:bold'>To:</span></font></b><font size=2
face=Arial><span style='font-size:10.0pt;font-family:Arial'> <a
href="mailto:matej@matnet.net" target="_blank" title="matej@matnet.net"
ymailto="mailto:matej@matnet.net">Matej</a> ; <a
href="mailto:geomoose-users@lists.sourceforge.net" target="_blank"
title="geomoose-users@lists.sourceforge.net"
ymailto="mailto:geomoose-users@lists.sourceforge.net">geomoose-users@lists.sourceforge.net</a>
<o:p></o:p></span></font></p>

</div>

<div style='font-size-adjust: none;font-stretch: normal;-x-system-font: none'>

<p class=MsoNormal><b><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial;font-weight:bold'>Sent:</span></font></b><font size=2
face=Arial><span style='font-size:10.0pt;font-family:Arial'> Monday, November
03, 2008 9:48 PM<o:p></o:p></span></font></p>

</div>

<div style='font-size-adjust: none;font-stretch: normal;-x-system-font: none'>

<p class=MsoNormal><b><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial;font-weight:bold'>Subject:</span></font></b><font size=2
face=Arial><span style='font-size:10.0pt;font-family:Arial'> RE:
[Geomoose-users] Special characters - &quot;sh&quot;,
&quot;ch&quot;,&quot;zh&quot; - Central European symbols - part 2<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span
style='font-size:11.0pt;font-family:Calibri;color:#1F497D'>Matej,</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span
style='font-size:11.0pt;font-family:Calibri;color:#1F497D'>I think this would
be a question for the mapserver mailing list.&nbsp; I have never used
international characters so I have no experience with them.&nbsp; I wonder if
it is an issue with the MapInfo format. I do know mapserver encodes the
attributes for HTML, but will leave them as is if you do something like this:</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>[DBASE item name],[DBASE item name_esc],[DBASE item name_raw] <o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>Item name from the attribute table of a queried layer.
Only attributes for the active query layers are accessible. Case must be the same
as what is stored in the DBASE file. ArcView, for example, uses all caps for
shapefile field names. Available only when processing query results.<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>By default the attributes are encoded especially for
HTML representation. In addition the escaped version (for use in URLs) as well
as the raw data is available.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span
style='font-size:11.0pt;font-family:Calibri;color:#1F497D'>This is from the
mapserver website under the template reference guide
(http://mapserver.gis.umn.edu/docs/reference/templatereference/referencemanual-all-pages).&nbsp;
Maybe it won</span></font><font size=2 color="#1f497d"><span style='font-size:
11.0pt;color:#1F497D'>ʼt do this for MapInfo file</span></font><font size=2
color="#1f497d" face=Calibri><span style='font-size:11.0pt;font-family:Calibri;
color:#1F497D'>s.</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span
style='font-size:11.0pt;font-family:Calibri;color:#1F497D'>Just an idea,</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span
style='font-size:11.0pt;font-family:Calibri;color:#1F497D'>Brian</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<div>

<p class=MsoNormal><font size=2 color="#1f497d" face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:#1F497D'>Brian Fischer</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color="#1f497d" face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:#1F497D'>Houston Engineering,
Inc.</span></font><o:p></o:p></p>

<p class=MsoNormal><st1:place w:st="on"><st1:City w:st="on"><font size=2
  color="#1f497d" face=Arial><span style='font-size:10.0pt;font-family:Arial;
  color:#1F497D'>Maple Grove</span></font></st1:City><font size=2
 color="#1f497d" face=Arial><span style='font-size:10.0pt;font-family:Arial;
 color:#1F497D'>, <st1:State w:st="on">MN</st1:State></span></font></st1:place><o:p></o:p></p>

<p class=MsoNormal><font size=2 color="#1f497d" face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:#1F497D'>(763) 493-4522</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal style='margin-left:.5in'><b><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> Matej
[mailto:matej@matnet.net] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Monday, November 03, 2008
2:36 PM<br>
<b><span style='font-weight:bold'>To:</span></b>
geomoose-users@lists.sourceforge.net<br>
<b><span style='font-weight:bold'>Subject:</span></b> [Geomoose-users] Special
characters - &quot;sh&quot;, &quot;ch&quot;,&quot;zh&quot; - Central European
symbols - part 2</span></font><o:p></o:p></p>

</div>

</div>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<div>

<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Hi,</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>I have been further investigating
this issue and I am out of ideas what to do. Let me explain more. I have data
with those symbols in a MapInfo (.TAB file has the entry !charset WindowsLatin2
for charset definition). As I mentioned before, MapServer returns correct data
and when I open it in the different browser everything is displayed as it
should be.</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>But when the results are open in the
div inside geomoose, it is always (and I mean always) displayed in utf-8
encoding. I have found out that it is typical behaveour for setRequestHeader to
always return data in utf-8. I tried adding &quot;charset=iso-8859-2&quot; to
those two setRequestHeader calls, but I get no different results. </span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Now I don't know if I should also
write on the MapServer's mailing list if there is a chance to convert the data
from mode=nquery to specified encoding since I think that I MUST get the
results of the query in utf-8 from Mapserver otherwise this won't work. But
searching around, there is no option for that. </span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Maybe there is a way of replacement
some characters before displaying them? </span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Thank you for any help in advance,</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Matej Serc</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'><a href="mailto:matej@matnet.net"
target="_blank" ymailto="mailto:matej@matnet.net">matej@matnet.net</a></span></font><o:p></o:p></p>

</div>

</div>

</blockquote>

</div>

</div>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</blockquote>

</div>

</div>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</blockquote>

</div>

</body>

</html>