Re: Problem Regarding Handling of Unicode string

2009-08-16 Thread joy99
On Aug 11, 1:17 pm, John Machin wrote: > On Aug 10, 9:26 pm, joy99 wrote: > > > Dear Group, > > > I am using Python26 on WindowsXP with service pack2. My GUI is IDLE. > > I am using Hindi resources and get nice output like: > > एक > > where I can use all the re functions and other functions witho

Re: Problem Regarding Handling of Unicode string

2009-08-11 Thread John Machin
On Aug 10, 9:26 pm, joy99 wrote: > Dear Group, > > I am using Python26 on WindowsXP with service pack2. My GUI is IDLE. > I am using Hindi resources and get nice output like: > एक > where I can use all the re functions and other functions without doing > any transliteration,etc. > I was trying to

Re: Problem Regarding Handling of Unicode string

2009-08-10 Thread Piet van Oostrum
> joy99 (j) wrote: >j> Dear Group, >j> I am using Python26 on WindowsXP with service pack2. My GUI is IDLE. >j> I am using Hindi resources and get nice output like: >j> एक >j> where I can use all the re functions and other functions without doing >j> any transliteration,etc. >j> I was trying

Re: Problem Regarding Handling of Unicode string

2009-08-10 Thread Ulrich Eckhardt
joy99 wrote: > [...] it is giving me output like: > '\xef\xbb\xbf\xe0\xa6\x85\xe0\xa6\xa8\xe0\xa7\x87\xe0\xa6\x95' These three bytes encode the byte-order marker (BOM, Unicode uFEFF) as UTF-8, followed by codepoint u09a8 (look it up on unicode.org what that is). In any case, if th

Problem Regarding Handling of Unicode string

2009-08-10 Thread joy99
Dear Group, I am using Python26 on WindowsXP with service pack2. My GUI is IDLE. I am using Hindi resources and get nice output like: एक where I can use all the re functions and other functions without doing any transliteration,etc. I was trying to use Bengali but it is giving me output like: '\xe