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 > [email protected] > http://lists.osgeo.org/mailman/listinfo/mapserver-users > _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
