Fredrik Lundh wrote:
> today's Python supports "locale aware" 8-bit strings; e.g.
> 
>     >>> import locale
>     >>> "åäö".isalpha()
>     False
>     >>> locale.setlocale(locale.LC_ALL, "sv_SE")
>     'sv_SE'
>     >>> "åäö".isalpha()
>     True
> 
> to what extent should this be supported by Python 3000 ?

Since all strings will be Unicode by then:

 >>> u"åäö".isalpha()
True

Cheers,
Nick.

-- 
Nick Coghlan   |   [EMAIL PROTECTED]   |   Brisbane, Australia
---------------------------------------------------------------
             http://www.boredomandlaziness.org
_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to