Re: [Htmlparser-user] How to encode only special symbols
Brought to you by:
derrickoswald
From: Derrick O. <der...@ro...> - 2008-09-26 11:57:38
|
The translation adheres to the HTML specification http://www.w3.org/TR/REC-html40/sgml/entities.html If you want to avoid translating some characters, you will need to remove them from the Translate.mCharacterReferences list that was automatically generated and recompile. Derrick ----- Original Message ---- From: Tony Aldrich <ton...@gm...> To: htm...@li... Sent: Friday, September 26, 2008 5:58:49 AM Subject: [Htmlparser-user] How to encode only special symbols Good day, When I use Translate.encode() it encodes all non-latin symbols into &#..... codes. But how can I encode only special (about 250) symbols and other UTF-8 symbols left untouched? Thanks in advance. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Htmlparser-user mailing list Htm...@li... https://lists.sourceforge.net/lists/listinfo/htmlparser-user |