[mapserver-users] how to show chinese character?
Daniel Kastl
orkney at gmx.de
Fri Apr 24 01:14:02 PDT 2009
Hi,
Do you use Chinese fonts?
I don't think ms4w doesn't include any.
Probably you need to make changes in
FONTSET "../fontset.txt"
Daniel
ling xiao schrieb:
> 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://cn.rd.yahoo.com/mail_cn/tagline/card/*http://card.mail.cn.yahoo.com/>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
More information about the MapServer-users
mailing list