This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author effbot
Recipients Neil Muller, effbot, hodgestar, jcsalterego, pitrou
Date 2009-06-24.21:51:24
SpamBayes Score 1.2451884e-10
Marked as misclassified No
Message-id <1245880286.37.0.276242985199.issue6233@psf.upfronthosting.co.za>
In-reply-to
Content
That's backwards, unless I'm missing something here: charrefs represent 
Unicode characters, not UTF-8 byte values.  The character "LATIN SMALL 
LETTER A WITH TILDE" with the character value 227 should be represented as 
"&#227;" if serialized to an encoding that doesn't support non-ASCII 
characters.

And there's no need to use RE:s to filter things under 3.X; those parts of 
ET 1.2 are there for pre-2.0 compatibility.

Did you try running the tests with the escape function I posted?
History
Date User Action Args
2009-06-24 21:51:26effbotsetrecipients: + effbot, pitrou, hodgestar, Neil Muller, jcsalterego
2009-06-24 21:51:26effbotsetmessageid: <1245880286.37.0.276242985199.issue6233@psf.upfronthosting.co.za>
2009-06-24 21:51:25effbotlinkissue6233 messages
2009-06-24 21:51:24effbotcreate