[Tutor] UTf-8 to Entity

Diaz, Wendell w.diaz at spitech.com
Mon Aug 15 07:39:26 CEST 2005


Hey guys,
 
Hope you can help me on this.
 
I want to make a python program which opens an XML (UTF-8 encoding) and
do a search & replace. It will search the Unicode and replace them with
their equivalent entity name. The program will read a look-up table (a
tab delimited text file) which list the unicodes that needs to be
replace with enity names.
 
Example of the look-up table:
 
&nobreakspace; [tab] 000A0
 
Thanks in advance,
 
Wendell
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20050815/6f3f0177/attachment.htm


More information about the Tutor mailing list