Hello everyone

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?


Thank you