> Using the names gets fairly verbose compared to the hex escapes though: > >>>> u"\N{GREEK SMALL LETTER ALPHA}" > u'\u03b1' >>>> u"\N{GREEK CAPITAL LETTER ALPHA}" > u'\u0391' >>>> u"\N{GREEK CAPITAL LETTER ALPHA WITH TONOS}" > u'\u0386'
The extreme case (in Python 2.5) is py> u"\N{ARABIC LIGATURE UIGHUR KIRGHIZ YEH WITH HAMZA ABOVE WITH ALEF MAKSURA ISOLATED FORM}" u'\ufbf9' Regards, Martin _______________________________________________ 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