Eclipse/PyDev - BOM Lexical Error

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Wed Oct 13 23:41:13 EDT 2010


In message <mailman.1544.1286800257.29448.python-list at python.org>, Ethan 
Furman wrote:

> Lawrence D'Oliveiro wrote:
>
>> In message <mailman.1533.1286774527.29448.python-list at python.org>, Ethan
>> Furman wrote:
>> 
>>>Lawrence D'Oliveiro wrote:
>>>
>>>>In message <mailman.1466.1286556950.29448.python-list at python.org>, Ethan
>>>>Furman wrote:
>>>>
>>>MS treats those first three bytes as a flag -- if they equal the BOM, MS
>>>treats it as UTF-8, if they equal anything else, MS does not treat it as
>>>UTF-8.
>> 
>> So what does it treat it as? You previously gave examples of flag values
>> for dBase III. What are the flag values for Windows-1252, versus, say,
>> ISO-8859-15?
> 
> I am not aware of any other flag values for text files besides the BOM
> for UTF-8.

Then how can you say “MS treats those first three bytes as a flag”, then?



More information about the Python-list mailing list