[mapserver-users] how to show chinese character?
ling xiao
xiaoling101010 at yahoo.com.cn
Thu Apr 23 23:26:10 PDT 2009
I am new to study mapserver. I use ms4w. When I test "hello world" sample, I found this sample can't show chinese character. In IE browser, it shows blank. I need some help, thanks.
This is my mapfile:
#This is our "Hello World" mapfile
NAME "Hello World"
SIZE 400 300
IMAGECOLOR 249 245 186
IMAGETYPE png
EXTENT -1.00 -1.00 1.00 1.00
FONTSET "../fontset.txt"
WEB
TEMPLATE "c:/ms4w/apache/htdocs/website1/hello.html"
IMAGEPATH "c:/ms4w/apache/htdocs/website1/temp/"
IMAGEURL "/website1/temp/"
END
LAYER
STATUS default
TYPE point
FEATURE
POINTS 0.0 0.0 END
TEXT "中国"
# TEXT "HELLO WORLD"
END
CLASS
STYLE
COLOR 255 0 0
END
LABEL
ENCODING utf-8
TYPE truetype
SIZE 36
FONT "SIMHEI"
COLOR 0 0 0
END
END
END
END
___________________________________________________________
好玩贺卡等你发,邮箱贺卡全新上线!
http://card.mail.cn.yahoo.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090424/8173e2ed/attachment.htm>
More information about the MapServer-users
mailing list