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 EcmaXp
Recipients EcmaXp
Date 2010-10-28.22:12:53
SpamBayes Score 2.4702462e-14
Marked as misclassified No
Message-id <1288303989.88.0.633861339057.issue10223@psf.upfronthosting.co.za>
In-reply-to
Content
C:\Users\PC-\Desktop>c:\python31\python
Python 3.1.2 (r312:79149, Mar 21 2010, 00:41:52) [MSC v.1500 32 bit (Intel)] on
win32
Type “help”, “copyright”, “credits” or “license” for more information.
>>> import socket
>>> socket.gethostname()
Traceback (most recent call last):
  File “<stdin>”, line 1, in <module>
UnicodeDecodeError: ‘utf8’ codec can’t decode bytes in position 0-1: invalid data
>>>

socket.gethostname() fail when system name is korean on Window Vista

[...
History
Date User Action Args
2010-10-28 22:13:09EcmaXpsetrecipients: + EcmaXp
2010-10-28 22:13:09EcmaXpsetmessageid: <1288303989.88.0.633861339057.issue10223@psf.upfronthosting.co.za>
2010-10-28 22:12:54EcmaXplinkissue10223 messages
2010-10-28 22:12:53EcmaXpcreate