This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author cdqzzy
Recipients cdqzzy
Date 2011-05-06.09:16:14
SpamBayes Score 1.9107114e-05
Marked as misclassified No
Message-id <1304673377.35.0.784853339325.issue12016@psf.upfronthosting.co.za>
In-reply-to
Content
let s='\xff\n' 
The expected result of s.decode('gb2312', 'ignore') is u"\n", while in 2.6.6 it is u"".
  s can be replaced with chr(m) + chr(n) , where m is in range of 128~255, and n in 0~127.
  In the above cases, try decoding from chr(n) will never interfere with later parts in the string if there is any, since chr(n) do not start a multibyte sequence.
History
Date User Action Args
2011-05-06 09:16:17cdqzzysetrecipients: + cdqzzy
2011-05-06 09:16:17cdqzzysetmessageid: <1304673377.35.0.784853339325.issue12016@psf.upfronthosting.co.za>
2011-05-06 09:16:14cdqzzylinkissue12016 messages
2011-05-06 09:16:14cdqzzycreate