[mapserver-dev] Arabic encoding in Mapscript
mapsab
sabuvk at gmail.com
Sat Nov 27 04:26:49 EST 2010
Hi,
I am using c#mapscript(utilmap)(MapServer version 4.8.4 ) with asp.net in
our web application(www.welcometooman.com) .With English data it is working
fine.But when I try to show some labels in arabic it shows some Arabic
characters,but not in a joined way.We have created the layer using mapinfo
with one filed contains arabic .All the layers are in .Tab format.The layer
code is as follows
LAYER
NAME "Museums_c"
TYPE POINT
CONNECTIONTYPE OGR
CONNECTION "Museums_c.TAB"
STATUS ON
# This enables use of colors and styles from the source file.
#STYLEITEM "AUTO"
# Define an empty class that will be filled at runtime from the color and
# styles read on each shape in the source file.
#CLASSITEM "TYPE"
LABELITEM "Ar_Name"
CLASS
SIZE 10
STYLE
COLOR 255 0 0
OUTLINECOLOR 0 0 0
SYMBOL 'museum'
END #STYLE
#TEXT ([LABEL], [LABEL])
LABEL
ANGLE AUTO
COLOR 100 100 255
FONT arial
TYPE TRUETYPE
SIZE 10
POSITION LC
WRAP " "
ENCODING "Windows-1256"
END#LABEL
END# CLASS
END#LAYER
I have tried UTF-8,and font like Tahoma,but same reuslt.Can anyone suggests
any solution please.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Arabic-encoding-in-Mapscript-tp5779251p5779251.html
Sent from the Mapserver - Dev mailing list archive at Nabble.com.
More information about the mapserver-dev
mailing list