Skip to main content

Can Asian fonts work?

7 replies [Last post]
cjl999
Offline
Joined: 2006-11-13
Points: 0

Hi there people. I'm quite new here for jMaki.
And i'd like to see it in Asian language such as Thai, Korean, bla bla...
Please tell me how to do that. ;-)

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
shengdong
Offline
Joined: 2007-05-22
Points: 0

I have same question

when I use in jsp
and cn.js has data by chinese
but run it, the combobox value is '?????'

how can i do for that?

thanks

gmurray71
Offline
Joined: 2003-07-31
Points: 0

Could you send me the file cn.js and I'll check it out. (gregory.murray at sun.com)

Also have you set your page encoding? (Just checking)

shengdong
Offline
Joined: 2007-05-22
Points: 0

hi gmurray71 ,

i have sent cn.file to your email.

and i have checked my setting. the page encoding is UTF-8 and the java compiler
setting is utf-8 also.

so i think the encoding isn't problem...

qxo
Offline
Joined: 2004-07-27
Points: 0

I check the file that you send to Gregory.Murray
It's "GBK" encoding,not "UTF-8"

gmurray71
Offline
Joined: 2003-07-31
Points: 0

Thank you QXO. jMaki right now requires data to be UTF-8 formatted. We plan to make the encoding configurable in the future.

gmurray71
Offline
Joined: 2003-07-31
Points: 0

I converted the file to UTF8 and the fonts come in just fine with no extra work.

shengdong
Offline
Joined: 2007-05-22
Points: 0

It's work ok by the utf-8 file, and i can write other chinese .

Thanks a lot.

But I have a new question for edit js file in the netbeans.

How to encode UTF-8 for . js file in the netbeans?
I know how to encode UTF-8 for .java file only...