asp.net - Chinese is not displayed in ActivePDF -
i going use activepdf generate chinese reports via asp.net application.
example
dim otk aptoolkitnet.toolkit = new aptoolkitnet.toolkit() otk.newpage() otk.setfont("helvetica|encoding=unigb-ucs2-h", 24) otk.printtext(72.0, 720.0, "每日活动报表")
pdf file generated, displays "kˇeåm;r¤b¥he" instead of "每日活动报表".
please let me know should do?
meta tag defined set (content="text/html; charset=utf-8") in aspx page level.
the encodings supported built-in fonts winansiencoding, macromanencoding, macexpertencoding , custom (using 1 of previous 3 base encoding).
you need font glyphs defined encoding. built in helvetica font not have glyphs defined "每日活动报表". try using arial unicode ms instead.
Comments
Post a Comment