Win a copy of Penetration Testing Basics this week in the Security forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Showing Unicode characters in JEditorPane

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..
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic