Hi Murty,<br><br>Could you provide a sample application along with the data so that I could check out this issue in my Vista machine?<br><br>Best regards,<br><br>Tamas<br><br><br><br><div class="gmail_quote">2009/3/12 Murty Maganti <span dir="ltr"><<a href="mailto:MMaganti@oriongis.com">MMaganti@oriongis.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Hi</span></p><div class="im">
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p>>The iconv.dll and fribidi.dll should be available to
load by the application by default. <br>
>Does this issue exists only when fribidi is compiled in? I can see a couple
of non-const static variables used by the fribidi library and I wonder if we
should >protect the access to these functions with locks inside the
mapserver code in a multi-threaded environment.</p>
<p> </p>
</div><p>I have the both DLLs present in PATH/binary folders. Though I
see SUPPORT=FRIBIDI output from map server, but I guess it is going through
iconv. When a specify wrong encoding like ‘abc’ it throws exception
that the encoding is not supported by iconv, which means it is using iconv.</p>
<p> </p>
<p>Forgot to mention this previously. There is no problem
loading the map file (with encoding) in a desktop application on Vista. It hangs
when I load in ASP.Net environment. But same map file loads fine in ASP.Net on
XP machine.</p>
<p> </p>
<p>Appreciate all the help.</p>
<p> </p>
<p>Thanks</p>
<p>Murty<span style="font-size: 11pt; color: rgb(31, 73, 125);"></span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">
<p><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;"> Tamas Szekeres
[mailto:<a href="mailto:szekerest@gmail.com" target="_blank">szekerest@gmail.com</a>] <br>
<b>Sent:</b> Wednesday, March 11, 2009 6:28 PM<br>
<b>To:</b> Murty Maganti<br>
<b>Cc:</b> Daniel Morissette; <a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><div class="im"><br>
<b>Subject:</b> Re: [mapserver-users] Label encoding</div></span></p>
</div>
<p> </p>
<p style="margin-bottom: 12pt;"> </p>
<div>
<p>2009/3/11 Murty Maganti <<a href="mailto:MMaganti@oriongis.com" target="_blank">MMaganti@oriongis.com</a>></p><div><div></div><div class="h5">
<p>Hi<br>
<br>
Is that list same if map server is compiled with Fribidi or is it<br>
different?</p>
<div>
<p style="margin-bottom: 12pt;"><br>
<br>
<br>
Hi,<br>
<br>
<br>
I can see the followings added in fribidi (according to
fribidi-char-sets-list.h)<br>
<br>
#ifdef _FRIBIDI_ADD_CHAR_SET_OTHERS<br>
_FRIBIDI_ADD_CHAR_SET_OTHERS (UTF8, utf8)
/* UTF-8 (Unicode) */<br>
_FRIBIDI_ADD_CHAR_SET_OTHERS (CAP_RTL, cap_rtl)
/* CapRTL (Test) */<br>
#endif /* _FRIBIDI_ADD_CHAR_SET_OTHERS */<br>
#ifdef _FRIBIDI_ADD_CHAR_SET_ONE2ONE<br>
_FRIBIDI_ADD_CHAR_SET_ONE2ONE (ISO8859_6, iso8859_6) /*
ISO8859-6 (Arabic) */<br>
_FRIBIDI_ADD_CHAR_SET_ONE2ONE (ISO8859_8, iso8859_8) /*
ISO8859-8 (Hebrew) */<br>
_FRIBIDI_ADD_CHAR_SET_ONE2ONE (CP1255, cp1255)
/* CP1255 (MS Hebrew/Yiddish) */<br>
_FRIBIDI_ADD_CHAR_SET_ONE2ONE (CP1256, cp1256)
/* CP1256 (MS Arabic) */<br>
#endif /* _FRIBIDI_ADD_CHAR_SET_ONE2ONE */<br>
<br>
<br>
As far as I can see this takes precedence over iconv when fribidi is compiled
in, unless you specify FRIBIDI_NO_CHARSETS when compiling mapserver. In the
latter case iconv is used to when doing the encoding.<br>
<br>
</p>
</div>
<blockquote style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color rgb(204, 204, 204); border-width: medium medium medium 1pt; padding: 0in 0in 0in 6pt; margin-left: 4.8pt; margin-right: 0in;">
<p><br>
Also, have another issue. I have a map file that loads perfectly fine on<br>
XP and vista. The moment I add encoding attribute, it does not load in<br>
vista (no matter what the coding value). It just hangs in mapObj.draw()<br>
and need to restart IIS. Works fine on XP. Is there any clue where I can<br>
look to resolve the issue. Do I need to install any additional libraries<br>
for Iconv or Fribidi on Vista?</p>
</blockquote>
<div>
<p><br>
The iconv.dll and fribidi.dll should be available to load by the application by
default. <br>
Does this issue exists only when fribidi is compiled in? I can see a couple of
non-const static variables used by the fribidi library and I wonder if we
should protect the access to these functions with locks inside the mapserver
code in a multi-threaded environment.<br>
<br>
Best regards,<br>
<br>
Tamas</p>
</div>
</div></div></div>
<p> </p>
</div>
</div>
</blockquote></div><br>