Well, since I'm the only one posting recently, I hereby continue my attempts 
at keeping this list from dying. :)

In rendering my output, I've noticed that using output='xhtml-strict' renders 
the entities and inserts high-ASCII characters in my document.  Characters, 
by the way, which Firefox on Linux renders as an accented 'A' plus the 
intended character.  It seems (via investigation with a hex editor) there are 
actually two characters being inserted there.  For instance, a   becomes 
C2 A0 (if my memory from last night holds).  So, that seems annoying, but I 
thought I'd try this instead:

t.write(filename, output='xhtml-strict', format='named')

Even with the format='named' parameter, which according to the docs "has the 
named parameter set, so it will produce named HTML character entities in the 
output for characters which are not contained in the output encoding (i.e. 
  instead of  )," it still renders the characters instead of 
keeping the entities.  Even if it did   instead of C2 A0, that would 
work.

Using output='html-strict' does *NOT* render the entities, and that correctly 
displays in Firefox.  Is this a bug, or am I not reading the docs correctly?  
If anyone wants a screen shot of the incorrect display, I can send it your 
way.

j

-- 
Joshua Kugler                           
Lead System Admin -- Senior Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0xDB26D7CE
PO Box 80086 -- Fairbanks, AK 99708 -- Ph: 907-456-5581 Fax: 907-456-3111

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
kid-template-discuss mailing list
kid-template-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kid-template-discuss

Reply via email to