unescaping xml escape codes
bokr at oz.net
Mon Aug 11 02:22:04 CEST 2003
On 11 Aug 2003 00:09:42 GMT, bokr at oz.net (Bengt Richter) wrote:
>Maybe just a regex sub function would do it for you? Do you just need the decimal
>forms like above or also the hex? If your coded entities are to ÿ or
>&x00; to &xff; this might work. Other entities are converted to '?'.
That should be � and ÿ respectively. I did implement hex entites after all.
Botched reediting this commentary however ;-P
More information about the Python-list