New submission from EcmaXp <ad...@ecmaxp.pe.kr>: 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 [... ---------- components: Library (Lib) messages: 119818 nosy: EcmaXp priority: normal severity: normal status: open title: socket.gethostname() fail type: crash versions: Python 3.1 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10223> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com