We&#39;ve build the MapServer 5.2 on a Linux server, with fribidi2 0.19.1, to try show Arabic labels. But the words are not joined. Then we&#39;ve tried on an MS4W 2.3.0 server, it&#39;s worse.<br>
We are using PostGIS, and the database is using UTF8 (pgpr.png), while all Arabic data can be shown correctly on my English Windows XP, and we&#39;ve tried some more machines, or on IE, to make sure that Arabic text in database are really UTF8.<br>
<div>
<br></div>
Here&#39;s the images: <a href="http://www3.mapasia.com/jackout/ara.png" target="_blank">http://www3.mapasia.com/jackout/ara.png</a><br>
<br>
The part of the map file is as follow, where the &quot;arbic-trans&quot; is a Arabic<br>
TrueType font named &quot;Arabic Transparent&quot;:<br>
LABEL<br>
ANGLE FOLLOW<br>
PRIORITY [priority]<br>
ENCODING &quot;UTF-8&quot;<br>
COLOR 0 0 0<br>
OUTLINECOLOR 255 255 255<br>
TYPE TRUETYPE<br>
FONT &quot;arbic-trans&quot;<br>
SIZE 7<br>
POSITION AUTO<br>
PARTIALS FALSE<br>
MINDISTANCE 500<br>
BUFFER 1<br>
MINFEATURESIZE 50<br>
END<br>
<br>Any clue?<br><br><br><br><div class="gmail_quote">On Tue, Sep 9, 2008 at 10:56 PM, Stephen Woodbridge <span dir="ltr">&lt;<a href="mailto:woodbri@swoodbridge.com">woodbri@swoodbridge.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello Saka,<br>
<br>
There are a lot of pieces that you have to get working together to get this to work:<br>
<br>
1) mapserver 5.2 MUST be built with fribidi2 support. I beleieve this is also designated as version fribidi-0.19.1<br>
<br>
2) A typetype font file that contains the shape gliphs that you might need along with the characters that you need to display.<br>
<br>
3) And I&#39;m sure this works with UTF-8, but unsure about other encodings.<br>
<br>
4) your data converted to UTF-8 if it is in some other encoding<br>
<br>
5) and finally you mapfile label definition which specifies an encoding of utf-8.<br>
<br>
You might get other variations of this to work, I would be interested in hearing your reports of you can get others to work. I have sucessfully gotten the above to work.<br>
<br>
Best regards,<br>
 &nbsp;-Stephen Woodbridge<br>
<br>
Saka Royban wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="Wj3C7c">
<br>
Hi all.<br>
I&#39;ve asked this problem in MS4W mailing list but no success. it sounds it originally relates to mapserver<br>
According to what History.txt &nbsp;for MS4W2.2.8 says, problem for arabic and hebrew languages has been solved by using UTF8. But i couldn&#39;t get a good result.<br>
In fact, UTF8 doesn&#39;t show letters correctly (just some symbols). i have tried lots of fonts but the same result.<br>
in current version, the problem of joining letters have been solved because i can get result using &#39;ISO8859-6&#39; encoding which is for arabic but now this encoding changes some of letters with each other.<br>
In last version, &#39;Windows-1256&#39; encoding (for arabic) worked well for showing letters just they were separate not joint. but in cuurent versions this encoding just shows some symbols.<br>
I&#39;m confused. maybe i should setup sth which i don&#39;t do or i don&#39;t know sth else.<br>
that would be my appreciate to help me because it is really a need. Maps without labels have less usage.<br>
Thanks in advance<br>
(See attachments)<br>
My Mapfile: LABEL<br>
 &nbsp;TYPE TrueType<br>
 &nbsp;FONT timesnewromans<br>
 &nbsp;ENCODING &#39;windows-1256&#39;<br>
 &nbsp;SIZE 12<br>
END<br>
<br>
<br></div></div>
------------------------------------------------------------------------<br>
<br>
<br>
------------------------------------------------------------------------<br>
<br>
<br>
------------------------------------------------------------------------<br>
<br>
<br>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</blockquote>
<br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</blockquote></div><br>