hex dump w/ or w/out utf-8 chars

Joshua Landau joshua.landau.ws at gmail.com
Mon Jul 8 18:02:57 EDT 2013


On 8 July 2013 22:38, MRAB <python at mrabarnett.plus.com> wrote:
> On 08/07/2013 21:56, Dave Angel wrote:
>> Characters do not have a width.
>> [snip]
>> It depends what you mean by "width"! :-)
>> Try this (Python 3):
>>>>> print("A\N{FULLWIDTH LATIN CAPITAL LETTER A}")
> AA

Serious question: How would one find the width of a character by that
definition?


More information about the Python-list mailing list

AltStyle によって変換されたページ (->オリジナル) /