Z
zku
Hi,
I have a String object that contains non-ascii characters.
I stored the String object into a file using "UTF-8" charset.; File #1.
Then, I read it back from the file using "UTF-8" charset as well.
The checking readBackString.equals( origString) is true.
I stored the readBackString to another file using "UTF-8" charset. File #2.
I opened the File #1 and #2, I can see there are characters different.
Questions:
How to store so that the file #2 is the same as file #1?
I have a String object that contains non-ascii characters.
I stored the String object into a file using "UTF-8" charset.; File #1.
Then, I read it back from the file using "UTF-8" charset as well.
The checking readBackString.equals( origString) is true.
I stored the readBackString to another file using "UTF-8" charset. File #2.
I opened the File #1 and #2, I can see there are characters different.
Questions:
How to store so that the file #2 is the same as file #1?