<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<STYLE type=text/css>DIV {
        MARGIN: 0px
}
</STYLE>
<META content="MSHTML 6.00.6001.18148" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Yes, no matter what encoding is set in index.html
the output in the GeoMoose in the div "content_results_form" is always the same
- same strange characters (for example the char after "o" in this string<FONT
face="Times New Roman" size=3><FONT face=Arial size=2>: "Naro�nik".</FONT> <FONT
face=Arial size=2>There is supposed to be the symbol for
"ch".).</FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Matej Serc</FONT></DIV>
<DIV><FONT face=Arial size=2><A
href="mailto:matej@matnet.net">matej@matnet.net</A></FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=danlittle@yahoo.com href="mailto:danlittle@yahoo.com">Dan Little</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=matej@matnet.net
href="mailto:matej@matnet.net">Matej</A> ; <A
title=geomoose-users@lists.sourceforge.net
href="mailto:geomoose-users@lists.sourceforge.net">geomoose-users@lists.sourceforge.net</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, November 04, 2008 4:31
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Geomoose-users] Special
characters - "sh", "ch", "zh" - Central European symbols - part 2</DIV>
<DIV><BR></DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial,helvetica,sans-serif">
<DIV>Have you tried changing the encoding settings in the index.html
file?<BR></DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial,helvetica,sans-serif"><BR>
<DIV
style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman,new york,times,serif"><FONT
face=Tahoma size=2>
<HR SIZE=1>
<B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> Matej <<A
href="mailto:matej@matnet.net">matej@matnet.net</A>><BR><B><SPAN
style="FONT-WEIGHT: bold">To:</SPAN></B> <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:17:31
AM<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> Re:
[Geomoose-users] Special characters - "sh", "ch", "zh" - Central European
symbols - part 2<BR></FONT><BR>
<STYLE> _filtered {
font-family:Calibri;}
_filtered {
font-family:Tahoma;}
_filtered {margin:1.0in 1.0in 1.0in 1.0in;}
P.MsoNormal {
FONT-SIZE:12pt;MARGIN:0in 0in 0pt;FONT-FAMILY:"Times New Roman", "serif";}
LI.MsoNormal {
FONT-SIZE:12pt;MARGIN:0in 0in 0pt;FONT-FAMILY:"Times New Roman", "serif";}
DIV.MsoNormal {
FONT-SIZE:12pt;MARGIN:0in 0in 0pt;FONT-FAMILY:"Times New Roman", "serif";}
A:link {
COLOR:blue;TEXT-DECORATION:underline;}
SPAN.MsoHyperlink {
COLOR:blue;TEXT-DECORATION:underline;}
A:visited {
COLOR:purple;TEXT-DECORATION:underline;}
SPAN.MsoHyperlinkFollowed {
COLOR:purple;TEXT-DECORATION:underline;}
SPAN.EmailStyle17 {
COLOR:#1f497d;FONT-FAMILY:"Calibri", "sans-serif";}
P.first {
FONT-SIZE:12pt;MARGIN-LEFT:0in;MARGIN-RIGHT:0in;FONT-FAMILY:"Times New Roman", "serif";}
LI.first {
FONT-SIZE:12pt;MARGIN-LEFT:0in;MARGIN-RIGHT:0in;FONT-FAMILY:"Times New Roman", "serif";}
DIV.first {
FONT-SIZE:12pt;MARGIN-LEFT:0in;MARGIN-RIGHT:0in;FONT-FAMILY:"Times New Roman", "serif";}
P.last {
FONT-SIZE:12pt;MARGIN-LEFT:0in;MARGIN-RIGHT:0in;FONT-FAMILY:"Times New Roman", "serif";}
LI.last {
FONT-SIZE:12pt;MARGIN-LEFT:0in;MARGIN-RIGHT:0in;FONT-FAMILY:"Times New Roman", "serif";}
DIV.last {
FONT-SIZE:12pt;MARGIN-LEFT:0in;MARGIN-RIGHT:0in;FONT-FAMILY:"Times New Roman", "serif";}
.MsoChpDefault {
FONT-SIZE:10pt;}
DIV.Section1 {
}
</STYLE>
<DIV>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I was looking at MapScript which would be an
option, but due to the following fact I think that there must be an "easier"
solution maybe with some XML settings or something like that - when
I click on the "Identify" tool and the result is open in the div
"content_results_form" as a part of the GeoMoose window, the characters DO NOT
appear correctly. But when I get the direct link to the MapServer
call (vith FireBug) that is being called by Geomoose, e.g. "<A
rel=nofollow>http://xxx.xxx.xxx.xxx/cgi-bin/mapserv?map=/home/webuser/identif.map&mapxy=468286.9195712629%20125082.02776175489&imgext=468282.0218372162%20125066.72580171067%20468308.97320987994%20125086.39975033894&layers=Boxes&imgsize=974%20711&mode=nquery</A>"
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.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>That is the fact that is bothering me and I
suspect that some method which performs the "call" 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.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thank you in advance,</FONT></DIV>
<DIV><FONT face=Arial size=2>Matej Serc</FONT></DIV>
<DIV><FONT face=Arial size=2><A
rel=nofollow>matej@matnet.net</A></FONT></DIV></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(0,0,0) 2px solid; MARGIN-RIGHT: 0px">
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal; -x-system-font: none">-----
Original Message ----- </DIV>
<DIV
style="BACKGROUND: rgb(228,228,228); FONT: 10pt arial; 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"><B>From:</B>
<A title=bfischer@houstonengineeringinc.com
href="mailto:bfischer@houstonengineeringinc.com" target=_blank rel=nofollow
ymailto="mailto:bfischer@houstonengineeringinc.com">Fischer, Brian</A>
</DIV>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal; -x-system-font: none"><B>To:</B>
<A title=matej@matnet.net href="mailto:matej@matnet.net" target=_blank
rel=nofollow ymailto="mailto:matej@matnet.net">Matej</A> ; <A
title=geomoose-users@lists.sourceforge.net
href="mailto:geomoose-users@lists.sourceforge.net" target=_blank
rel=nofollow
ymailto="mailto:geomoose-users@lists.sourceforge.net">geomoose-users@lists.sourceforge.net</A>
</DIV>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal; -x-system-font: none"><B>Sent:</B>
Monday, November 03, 2008 9:48 PM</DIV>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal; -x-system-font: none"><B>Subject:</B>
RE: [Geomoose-users] Special characters - "sh", "ch","zh" - Central European
symbols - part 2</DIV>
<DIV><BR></DIV>
<DIV class=Section1>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 11pt; COLOR: rgb(31,73,125); FONT-FAMILY: 'Calibri','sans-serif'">Matej,</SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 11pt; COLOR: rgb(31,73,125); FONT-FAMILY: 'Calibri','sans-serif'"></SPAN> </P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 11pt; COLOR: rgb(31,73,125); FONT-FAMILY: 'Calibri','sans-serif'">I
think this would be a question for the mapserver mailing list. I have
never used international characters so I have no experience with them.
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></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 11pt; COLOR: rgb(31,73,125); FONT-FAMILY: 'Calibri','sans-serif'"></SPAN> </P>
<P class=MsoNormal>[DBASE item name],[DBASE item name_esc],[DBASE item
name_raw] </P>
<P class=MsoNormal style="MARGIN-LEFT: 0.5in">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.</P>
<P class=MsoNormal style="MARGIN-LEFT: 0.5in">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.</P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 11pt; COLOR: rgb(31,73,125); FONT-FAMILY: 'Calibri','sans-serif'">This
is from the mapserver website under the template reference guide
(http://mapserver.gis.umn.edu/docs/reference/templatereference/referencemanual-all-pages).
Maybe it wonʼt do this for MapInfo files.</SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 11pt; COLOR: rgb(31,73,125); FONT-FAMILY: 'Calibri','sans-serif'"></SPAN> </P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 11pt; COLOR: rgb(31,73,125); FONT-FAMILY: 'Calibri','sans-serif'">Just
an idea,</SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 11pt; COLOR: rgb(31,73,125); FONT-FAMILY: 'Calibri','sans-serif'">Brian</SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 11pt; COLOR: rgb(31,73,125); FONT-FAMILY: 'Calibri','sans-serif'"></SPAN> </P>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; COLOR: rgb(31,73,125); FONT-FAMILY: 'Arial','sans-serif'">Brian
Fischer</SPAN><SPAN
style="FONT-SIZE: 11pt; COLOR: rgb(31,73,125); FONT-FAMILY: 'Calibri','sans-serif'"></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; COLOR: rgb(31,73,125); FONT-FAMILY: 'Arial','sans-serif'">Houston
Engineering, Inc.</SPAN><SPAN
style="FONT-SIZE: 11pt; COLOR: rgb(31,73,125); FONT-FAMILY: 'Calibri','sans-serif'"></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; COLOR: rgb(31,73,125); FONT-FAMILY: 'Arial','sans-serif'">Maple
Grove, MN</SPAN><SPAN
style="FONT-SIZE: 11pt; COLOR: rgb(31,73,125); FONT-FAMILY: 'Calibri','sans-serif'"></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; COLOR: rgb(31,73,125); FONT-FAMILY: 'Arial','sans-serif'">(763)
493-4522</SPAN><SPAN
style="FONT-SIZE: 11pt; COLOR: rgb(31,73,125); FONT-FAMILY: 'Calibri','sans-serif'"></SPAN></P></DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 11pt; COLOR: rgb(31,73,125); FONT-FAMILY: 'Calibri','sans-serif'"></SPAN> </P>
<DIV>
<DIV
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: rgb(181,196,223) 1pt solid; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
<P class=MsoNormal style="MARGIN-LEFT: 0.5in"><B><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">From:</SPAN></B><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"> Matej
[mailto:matej@matnet.net] <BR><B>Sent:</B> Monday, November 03, 2008 2:36
PM<BR><B>To:</B> geomoose-users@lists.sourceforge.net<BR><B>Subject:</B>
[Geomoose-users] Special characters - "sh", "ch","zh" - Central European
symbols - part 2</SPAN></P></DIV></DIV>
<P class=MsoNormal style="MARGIN-LEFT: 0.5in"> </P>
<DIV>
<P class=MsoNormal style="MARGIN-LEFT: 0.5in"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">Hi,</SPAN></P></DIV>
<DIV>
<P class=MsoNormal style="MARGIN-LEFT: 0.5in"> </P></DIV>
<DIV>
<P class=MsoNormal style="MARGIN-LEFT: 0.5in"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">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></P></DIV>
<DIV>
<P class=MsoNormal style="MARGIN-LEFT: 0.5in"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">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 "charset=iso-8859-2" to those two setRequestHeader calls, but I get
no different results. </SPAN></P></DIV>
<DIV>
<P class=MsoNormal style="MARGIN-LEFT: 0.5in"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">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></P></DIV>
<DIV>
<P class=MsoNormal style="MARGIN-LEFT: 0.5in"> </P></DIV>
<DIV>
<P class=MsoNormal style="MARGIN-LEFT: 0.5in"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">Maybe there is a
way of replacement some characters before displaying them? </SPAN></P></DIV>
<DIV>
<P class=MsoNormal style="MARGIN-LEFT: 0.5in"> </P></DIV>
<DIV>
<P class=MsoNormal style="MARGIN-LEFT: 0.5in"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">Thank you for any
help in advance,</SPAN></P></DIV>
<DIV>
<P class=MsoNormal style="MARGIN-LEFT: 0.5in"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">Matej
Serc</SPAN></P></DIV>
<DIV>
<P class=MsoNormal style="MARGIN-LEFT: 0.5in"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"><A
href="mailto:matej@matnet.net" target=_blank rel=nofollow
ymailto="mailto:matej@matnet.net">matej@matnet.net</A></SPAN></P></DIV></DIV></BLOCKQUOTE></DIV></DIV></DIV><BR></BLOCKQUOTE></BODY></HTML>