[Python-ideas] Add "namereplace" error handler

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Jun 12 03:47:04 CEST 2013


Serhiy Storchaka wrote:
> 11.06.13 17:40, Masklinn написав(ла):
> 
>> I'm not aware of other
>> systems which would allow *naming* all of these codepoints outside of
>> unicode. "namereplace" feels short, sweet and clear.
> 
> HTML, (La)TeX…

Blatantly hypergeneralising,

    namereplace("unicode")
    namereplace("html")
    namereplace("latex")

etc. With an accompanying scheme for registering naming
schemes.

-- 
Greg


More information about the Python-ideas mailing list