Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Showing Unicode characters in JEditorPane  RSS feed

 
Raghvendra Sharma
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear all
i am sending some text from server end to a java applet which uses j editor pane. The text contains unicode characters as well. Basically they are mathematical/greek symbols and are necessary to be sent in unicode format only since i have to supprot both ie and netscape.
I have already tried setting the content type of jeditorpane to "text/html; enctype='UTF-8'". But that didn't help.
Also i am setting the text in jeditor pane through setText and not by setPage or initializing through a URL. Would that effect that ??
please help
its a sort of emergency..
regards and thanks in advance..
raghav..
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!