February 15th, 2013, 10:30 AM
help:Convert Unicode into strings with respective characters
I am working on a file that has unicode in it and I'd like convert the whole content into string so that the unicode is not converted into their respective characters.
I know that if the string is in unicode (e.g \u3dda etc) then java converts it automatically but in this case I am reading from an external source which can be a website,file or something else.
Without having any control over encoding when I read the file and receiving the file simply as a string, how can I convert its content which is a mix of character and unicodes?
Click Here to Expand Forum to Full Width