On Mon, Oct 4, 2010 at 5:03 AM, TheOne wrote:
> Hi.
>
> I installed eclipse/pydev today.
> I created a pydev project and added python source files with utf-8
> BOM.
> Eclipse/Pydev reports lexical error :
> Lexical error at line 1, column 1. Encountered: "\ufeff" (65279),
> after : ""
>
> I want
On Thu, 14 Oct 2010 16:41:13 +1300, Lawrence D'Oliveiro wrote:
> In message , Ethan
> Furman wrote:
>
>> Lawrence D'Oliveiro wrote:
>>
>>> In message ,
>>> Ethan Furman wrote:
>>>
Lawrence D'Oliveiro wrote:
>In message ,
>Ethan Furman wrote:
>
MS treats those first three
In message , Ethan
Furman wrote:
> Lawrence D'Oliveiro wrote:
>
>> In message , Ethan
>> Furman wrote:
>>
>>>Lawrence D'Oliveiro wrote:
>>>
In message , 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 equ
Lawrence D'Oliveiro wrote:
In message , Ethan
Furman wrote:
Lawrence D'Oliveiro wrote:
In message , Ethan
Furman wrote:
Lawrence D'Oliveiro wrote:
But they can only recognize it as a BOM if they assume UTF-8 encoding to
begin with. Otherwise it could be interpreted as some other codi
In message , Ethan
Furman wrote:
> Lawrence D'Oliveiro wrote:
>
>> In message , Ethan
>> Furman wrote:
>>
>>>Lawrence D'Oliveiro wrote:
>>>
But they can only recognize it as a BOM if they assume UTF-8 encoding to
begin with. Otherwise it could be interpreted as some other coding.
>>>
>>>
Lawrence D'Oliveiro wrote:
In message , Ethan
Furman wrote:
Lawrence D'Oliveiro wrote:
But they can only recognize it as a BOM if they assume UTF-8 encoding to
begin with. Otherwise it could be interpreted as some other coding.
Not so. The first three bytes are the flag.
But this is
In message , Ethan
Furman wrote:
> Lawrence D'Oliveiro wrote:
>
>> But they can only recognize it as a BOM if they assume UTF-8 encoding to
>> begin with. Otherwise it could be interpreted as some other coding.
>
> Not so. The first three bytes are the flag.
But this is just a text file. All p
Lawrence D'Oliveiro wrote:
In message <87hbgyosdc@web.de>, Diez B. Roggisch wrote:
Lawrence D'Oliveiro writes:
In message <87d3rorf2f@web.de>, Diez B. Roggisch wrote:
Lawrence D'Oliveiro writes:
What exactly is the point of a BOM in a UTF-8-encoded file?
It's a marker like the
In message <87hbgyosdc@web.de>, Diez B. Roggisch wrote:
> Lawrence D'Oliveiro writes:
>
>> In message <87d3rorf2f@web.de>, Diez B. Roggisch wrote:
>>
>>> Lawrence D'Oliveiro writes:
>>>
What exactly is the point of a BOM in a UTF-8-encoded file?
>>>
>>> It's a marker like the "co
Lawrence D'Oliveiro writes:
> In message <87d3rorf2f@web.de>, Diez B. Roggisch wrote:
>
>> Lawrence D'Oliveiro writes:
>>
>>> What exactly is the point of a BOM in a UTF-8-encoded file?
>>
>> It's a marker like the "coding: utf-8" in python-files. It tells the
>> software aware of it that
In message <87d3rorf2f@web.de>, Diez B. Roggisch wrote:
> Lawrence D'Oliveiro writes:
>
>> What exactly is the point of a BOM in a UTF-8-encoded file?
>
> It's a marker like the "coding: utf-8" in python-files. It tells the
> software aware of it that the content is UTF-8.
But if the softw
On 10/5/2010 5:13 AM, TheOne wrote:
It's a MS-specific thing that makes a file identifieable as
UTF-8-encoded under windows. The name BOM is obviously BS, but it's the
way it is.
I didn't know that it's a MS-thing. (Is it really?)
Yes, who else would 'customize' an international standard by
Lawrence D'Oliveiro writes:
> In message
> <2752e2e4-76fe-475a-a476-e5458bbfd...@z30g2000prg.googlegroups.com>, TheOne
> wrote:
>
>> Anyway, it would be great if I could make my eclipse/pydev to
>> understand the BOM character and suppress the lexical error msg.
>
> What exactly is the point of
In message
<2752e2e4-76fe-475a-a476-e5458bbfd...@z30g2000prg.googlegroups.com>, TheOne
wrote:
> Anyway, it would be great if I could make my eclipse/pydev to
> understand the BOM character and suppress the lexical error msg.
What exactly is the point of a BOM in a UTF-8-encoded file?
--
http://
On Oct 5, 5:10 pm, de...@web.de (Diez B. Roggisch) wrote:
> Lawrence D'Oliveiro writes:
> > In message
> > , TheOne
> > wrote:
>
> >> I want the source files to have BOM character.
>
> > What exactly is the point of a BOM in a UTF-8-encoded file?
>
> It's a MS-specific thing that makes a file iden
TheOne writes:
> On Oct 4, 9:26 pm, de...@web.de (Diez B. Roggisch) wrote:
>> TheOne writes:
>> > Hi.
>>
>> > I installed eclipse/pydev today.
>> > I created a pydev project and added python source files with utf-8
>> > BOM.
>> > Eclipse/Pydev reports lexical error :
>> > Lexical error at line
Lawrence D'Oliveiro writes:
> In message
> , TheOne
> wrote:
>
>> I want the source files to have BOM character.
>
> What exactly is the point of a BOM in a UTF-8-encoded file?
It's a MS-specific thing that makes a file identifieable as
UTF-8-encoded under windows. The name BOM is obviously BS,
In message
, TheOne
wrote:
> I want the source files to have BOM character.
What exactly is the point of a BOM in a UTF-8-encoded file?
--
http://mail.python.org/mailman/listinfo/python-list
On Oct 4, 9:26 pm, de...@web.de (Diez B. Roggisch) wrote:
> TheOne writes:
> > Hi.
>
> > I installed eclipse/pydev today.
> > I created a pydev project and added python source files with utf-8
> > BOM.
> > Eclipse/Pydev reports lexical error :
> > Lexical error at line 1, column 1. Encountered:
TheOne writes:
> Hi.
>
> I installed eclipse/pydev today.
> I created a pydev project and added python source files with utf-8
> BOM.
> Eclipse/Pydev reports lexical error :
> Lexical error at line 1, column 1. Encountered: "\ufeff" (65279),
> after : ""
>
> I want the source files to have BOM
Hi.
I installed eclipse/pydev today.
I created a pydev project and added python source files with utf-8
BOM.
Eclipse/Pydev reports lexical error :
Lexical error at line 1, column 1. Encountered: "\ufeff" (65279),
after : ""
I want the source files to have BOM character. How could I shut off
thi
21 matches
Mail list logo