| Author |
Japanese font problem (can anyone help asap)
|
S Dan
Greenhorn
Joined: Apr 05, 2005
Posts: 25
|
|
I'm trying to set text to a JLabel. Suppose I have a string variable called "description". "description" contains japanese characters. when I use jLabel.setText(description), it works fine and shows the japanese fonts properly. Now if I try to wrap the description with html tags..e.g jLabel.setText("<html><body><font FACE=\"sans-serif, Arial, Helvetica, Geneva\">"+description+"</font></body></html>"); then it just messes the japanse fonts. Why is that so? How can I wrap that in html? Thanks in advance. -Dan
|
 |
 |
|
|
subject: Japanese font problem (can anyone help asap)
|
|
|