unicodedata name for \u000a

Tor Iver Wilhelmsen tor.iver.wilhelmsen at broadpark.no
Sun Aug 22 04:53:17 EDT 2004


Peter Kleiweg <in.aqua.scribis at nl.invalid> writes:

> No, there isn't. Check
> http://www.unicode.org/charts/PDF/U0000.pdf

Quoting that document:

Alias names are those for ISO/IEC 6429:1992.
Commonly used alternative aliases are also shown.

000A LF <control>
= LINE FEED (LF)

So the authors of unicodedata.name() could have picked either
'<control>', the ASCII name 'LF' or the alternative 'LINE FEED (LF)'.
Not picking any of them seems strange, and as the OP pointed out,
leads to an error even though the "C0 Controls" part of that page *is*
part of Unicode.



More information about the Python-list mailing list