[Python-ideas] Add "namereplace" error handler
Masklinn
masklinn at masklinn.net
Tue Jun 11 18:50:55 CEST 2013
On 2013-06-11, at 16:51 , 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…
There are only 252 HTML entity names, which is obviously insufficient.
Named latex symbols are more extensive (at 2826 according to the
reference I found) but still woefully inadequate. Furthermore one would
expect such domain-specific (but not python-specific) replacements to be
patterned after xmlcharrefreplace.
More information about the Python-ideas
mailing list