needs help in how to translate ≴ and ≵

Raaijmakers, Vincent (IndSys, GE Interlogix) Vincent.Raaijmakers at ge.com
Wed Sep 17 17:12:11 EDT 2003


Ok, I made a mistake too ... :-(

The text I get from the database has a xml 'look'.

This is how it really looks : 

(('<p>≴Hello World≵</p>'),('Plain text'))

When I look at the client of that database, It tells me "Hello World" and Plain text

So, what encoding is used here? Does someone recognize this?

Vincent


-----Original Message-----
From: Raaijmakers, Vincent (IndSys, GE Interlogix) 
Sent: Wednesday, September 17, 2003 4:37 PM
To: python-list at python.org
Subject: needs help in how to translate &#8830


As a newbie in coding in encoding I need some help from the guru here.
When I get information from a user database (mySQL) I get text that looks like:

(('&#8830Hello World&#8830'),(''))

How can I create this info into a string that looks like:
"Hello World"

Because what I know is that &#8830 stands for the character "

Must be veeeeerrrrryyyy simple, but how?

Thanks,
Vincent

-- 
http://mail.python.org/mailman/listinfo/python-list





More information about the Python-list mailing list