Author bupjae
Recipients bupjae
Date 2009-02-02.01:31:36
SpamBayes Score 7.08819e-11
Marked as misclassified No
Message-id <1233538306.69.0.00753244691607.issue5127@psf.upfronthosting.co.za>
In-reply-to
Content
>>> license
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Python30\lib\site.py", line 372, in __repr__
    self.__setup()
  File "C:\Python30\lib\site.py", line 359, in __setup
    data = fp.read()
  File "C:\Python30\lib\io.py", line 1724, in read
    decoder.decode(self.buffer.read(), final=True))
  File "C:\Python30\lib\io.py", line 1295, in decode
    output = self.decoder.decode(input, final=final)
UnicodeDecodeError: 'cp949' codec can't decode bytes in position 15164-
15165: il
legal multibyte sequence
>>> chr(0x10000)
'\U00010000'
>>> chr(0x11000)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Python30\lib\io.py", line 1491, in write
    b = encoder.encode(s)
UnicodeEncodeError: 'cp949' codec can't encode character '\ud804' in 
position 1:
 illegal multibyte sequence
>>>

I also can't understand why chr(0x10000) and chr(0x11000) has different 
behavior
History
Date User Action Args
2009-02-02 01:31:46bupjaesetrecipients: + bupjae
2009-02-02 01:31:46bupjaesetmessageid: <1233538306.69.0.00753244691607.issue5127@psf.upfronthosting.co.za>
2009-02-02 01:31:39bupjaelinkissue5127 messages
2009-02-02 01:31:37bupjaecreate