java - how to manage formatting of text when read a save file? -
i have java applet application in use rich text area . write urdu national language of pakistan. managed uni codes. problem is, when write urdu in text area , select font , color each line of when save file using utf-8 encoding , open again shows text formatted choose format of last line.
my requirement open file saved. mean each file should have same formatting done before saving.
i'm still suffering problem after bounty can 1 help! dated 07-06-2010.
see, when format text using font , color, generate rtf/html code right? should try rtf/html of text area formatting can saved in file.
basically text file, need code right?
check link rtf formatted text saving mechanism.
also check htmleditorkit more info.
http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/text/html/htmleditorkit.html
thanks.
Comments
Post a Comment