Message159776
For Windows versions that support it, we could use GetNameInfoW, available on XPSP2+, W2k3+ and Vista+.
The questions then are: what to do about gethostbyaddr, and what to do about the general case?
Since the problem appears to be specific to Windows, it might be appropriate to find a solution to just the Windows case, and ignore the general issue. For gethostbyaddr, decoding would then use CP_ACP. |
|
Date |
User |
Action |
Args |
2012-05-02 06:25:38 | loewis | set | recipients:
+ loewis, lemburg, amaury.forgeotdarc, vstinner, baikie, ezio.melotti, r.david.murray, jesterKing, spaun2002 |
2012-05-02 06:25:37 | loewis | set | messageid: <1335939937.97.0.232425382295.issue9377@psf.upfronthosting.co.za> |
2012-05-02 06:25:33 | loewis | link | issue9377 messages |
2012-05-02 06:25:33 | loewis | create | |
|