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 vstinner
Recipients OG7, christian.heimes, gregory.p.smith, meiermic, nadeem.vawda, neologix, pitrou, python-dev, santoso.wijaya, vstinner
Date 2011-05-19.09:49:55
SpamBayes Score 0.0014422868
Marked as misclassified No
Message-id <1305798596.36.0.189836046097.issue1746656@psf.upfronthosting.co.za>
In-reply-to
Content
Example with a non-ASCII interface name:

$ sudo tunctl -u haypo -t unicodeé
Set 'unicodeé' persistent and owned by uid 1000

$ sudo ifconfig -a|grep unicode|hexdump -C
00000000  75 6e 69 63 6f 64 65 c3  a9 20 4c 69 6e 6b 20 65  |unicode.. Link e|
00000010  6e 63 61 70 3a 45 74 68  65 72 6e 65 74 20 20 48  |ncap:Ethernet  H|
00000020  57 61 64 64 72 20 64 36  3a 30 38 3a 31 63 3a 65  |Waddr d6:08:1c:e|
00000030  30 3a 33 33 3a 30 36 20  20 0a                    |0:33:06  .|
0000003a

So in my setup (UTF-8 locale encoding), U+00E9 is encoded as {0xc3, 0xa9} (UTF-8).
History
Date User Action Args
2011-05-19 09:49:56vstinnersetrecipients: + vstinner, gregory.p.smith, pitrou, christian.heimes, OG7, meiermic, nadeem.vawda, neologix, santoso.wijaya, python-dev
2011-05-19 09:49:56vstinnersetmessageid: <1305798596.36.0.189836046097.issue1746656@psf.upfronthosting.co.za>
2011-05-19 09:49:55vstinnerlinkissue1746656 messages
2011-05-19 09:49:55vstinnercreate