I hope this question belongs here in the intermediate Java forum.I apologise if it doesnt. I wanted to know if there is a way to find out the encoding(UTF-8 or ISO-8859-1 or some other) of a text file.If there's a way to determine the encoding by looking at the hex format of the text?
Ive googled this but found many ambiguous answers.
Joined: Jun 19, 2006
Hi Just wanted to add that the reason i need this is these files are beeing sent to us by an external system and unfortunately they dont know what encoding they'r using.