| View previous topic :: View next topic |
| Author |
Message |
BigDaddy Enthusiastic Coder
Joined: 26 May 2006 Posts: 147
|
That is a hard problem.... if it has 8-bit data in it and the utf-8 decoder works, its probably utf-8
If there is no 8-bit data it is most likely ascii
Reply with quote
|
| |
|
|
Jackil Enthusiastic Coder
Joined: 24 May 2006 Posts: 97
| |
BigDaddy Enthusiastic Coder
Joined: 26 May 2006 Posts: 147
|
If it has a unicode byte order mark (0xFFFE or 0xFEFF) at the beginning it is probably raw UCS-16
If you are in norway and its not utf-8 and not ascii, it might be iso-8859-15
Or who knows, it might be chinese in some two-byte encoding
Reply with quote
|
| |
|
|
Jackil Enthusiastic Coder
Joined: 24 May 2006 Posts: 97
| |
|