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 loewis
Recipients baikie, ezio.melotti, jesterKing, lemburg, loewis, vstinner
Date 2010-10-20.19:49:48
SpamBayes Score 2.2630911e-06
Marked as misclassified No
Message-id <>
In-reply-to <>
> Also, if GetComputerNameEx() only offers a choice of DNS names or
> NetBIOS names, and both are byte-oriented underneath (that was my
> reading of the "Computer Names" page), then presumably there
> shouldn't be a problem with mapping the result to a bytes
> equivalent when necessary?

They aren't byte-oriented underneath.It depends on whether use
GetComputerNameA or GetComputerNameW whether you get bytes or Unicode.
If bytes, they are converted as if by WideCharToMultiByte using
CP_ACP, which in turn will introduce question marks and the like
for unconvertable characters.
Date User Action Args
2010-10-20 19:49:50loewissetrecipients: + loewis, lemburg, vstinner, baikie, ezio.melotti, jesterKing
2010-10-20 19:49:48loewislinkissue9377 messages
2010-10-20 19:49:48loewiscreate