A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-March/002732.html below:

[Python-Dev] Unicode character names

[Python-Dev] Unicode character namesPaul Prescod paul@prescod.net
Thu, 23 Mar 2000 14:09:42 -0800
"Andrew M. Kuchling" wrote:
> 
> Paul Prescod writes:
> >The new \N escape interpolates named characters within strings. For
> >example, "Hi! \N{WHITE SMILING FACE}" evaluates to a string with a
> >unicode smiley face at the end.
> 
> Cute idea, and it certainly means you can avoid looking up Unicode
> numbers.  (You can look up names instead. :) )  

More important, though, the code is "self documenting". You never have
to go from the number back to the name.

> Note that this means the
> Unicode database is no longer optional if this is done; it has to be
> around at code-parsing time.  

I don't like the idea enough to exclude support for small machines or
anything like that. We should way the costs of requiring the Unicode
database at compile time.

> (Is Perl5.6 actually
> dragging around the Unicode database in the binary, or is it read out
> of some external file or data structure?)

I have no idea.

-- 
 Paul Prescod  - ISOGEN Consulting Engineer speaking for himself
"I and my companions suffer from a disease of the heart that can only
be cured with gold", Hernan Cortes



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4