[Jslib] writing non-ascii text files

Pete Collins pete at mozdev.org
Mon Dec 1 15:18:39 EST 2003


mark bokil wrote:
> Does Jslib support writing  UTF-8N text files or czech characters 
> (ISO-8859-2). I know that nsIFileIO allows to set a contentCharset. 
> Would a regular textbox element be able to display these characters?

nsIFIle does, since everyting the insterface uses nsASting for strings.

Give it a try and let us know if it works. It should.

--pete

-- 
Pete Collins
www.mozdev.org
www.mozdevgroup.com



More information about the Jslib mailing list