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 lemburg
Recipients baikie, ezio.melotti, jesterKing, lemburg, loewis, r.david.murray, vstinner
Date 2010-10-29.19:04:43
SpamBayes Score 2.4745346e-05
Marked as misclassified No
Message-id <4CCB1AC9.1080802@egenix.com>
In-reply-to <1288376562.86.0.210441247954.issue9377@psf.upfronthosting.co.za>
Content
Martin v. Löwis wrote:
> 
> Martin v. Löwis <martin@v.loewis.de> added the comment:
> 
> r85934 now uses GetComputerNameExW on Windows.

Thanks, Martin.

Here's a similar discussion of the Windows approach (used in bzr):

https://bugs.launchpad.net/bzr/+bug/256550/comments/6

This is what Solaris uses:

http://developers.sun.com/dev/gadc/faq/locale.html#get-set

(they require conversion to ASCII and using IDNA for non-ASCII
names)

I found this RFC draft on the topic:
http://tools.ietf.org/html/draft-josefsson-getaddrinfo-idn-00
which suggests that there is no standard for the encoding
used by the socket host name APIs yet.

ASCII, UTF-8 and IDNA are happily mixed and matched.
History
Date User Action Args
2010-10-29 19:04:46lemburgsetrecipients: + lemburg, loewis, vstinner, baikie, ezio.melotti, r.david.murray, jesterKing
2010-10-29 19:04:44lemburglinkissue9377 messages
2010-10-29 19:04:43lemburgcreate