[issue4053] str.split unintentionally strips char 'I' from the string

2008-10-06 Thread STINNER Victor
STINNER Victor <[EMAIL PROTECTED]> added the comment: Duplicate of issue4054. -- nosy: +haypo resolution: -> duplicate status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> __

[issue4053] str.split unintentionally strips char 'I' from the string

2008-10-06 Thread Govind
New submission from Govind <[EMAIL PROTECTED]>: I tried to process a text file (with UTF-8 encoding) which has contents like this: FILE=India asbds FILE=Indonasia ssgsds FILE=Africa DBGDGDFG When I use the below code: >>> f = open("e:\\temp\\file.txt", 'r') >>> lines = f.readlines() >>> for l