java - Java2D Graphics Image to show UTF 8 characters -
we open , read file has utf 8 characters , prepare image using content read. when render image browser not see utf8 characters instead see junk characters.
how can make image displayed utf 8 character format? need display or read in specialized format?
as run program on linux box found on windows causing issue. when changed font type "dialog" got desired output:
font font = new font("arial", font.plain, 11); //old font font = new font("dialog", font.plain, 11); //new also needed convert utf8 unicode.
but still unable reach solution when run program on linux box? font support chinese characters?
Comments
Post a Comment