<pe****@netzero.com> wrote in message
news:ma************************************@python .org...
Hi!
Could I ask you, how can I know a file is encoded as 'UTF-8', 'UTF-16' or
something else? Thanks in advance.
Zhi
While there are BOM (Byte Order Mark) indicators specified by the Unicode
standard, very few files actually have them.
In general, this is still an old-fashioned protocol. You can ask the person
or look at the code that created the file.