I use the following code to save Chinese characters into a .txt file, but when I opened it with Wordpad, I couldn\'t read it.
StringBuffer Shanghai_StrBuf =
Try this,
StringBuffer Shanghai_StrBuf=new StringBuffer("\u4E0A\u6D77"); boolean Append=true; Writer out = new BufferedWriter(new OutputStreamWriter( new FileOutputStream(FileName,Append), "UTF8")); for (int i=0;i