Hi all,

I have a widget that contains an   in it but when my widget's
render() function is called, this &nbsp gets prefixed with an extra
character (an A with a hat on it) as described in this Kid ticket:

http://www.kid-templating.org/trac/ticket/98

A portion of the actual HTML generated from the template if I return it
as a JSON object using utf8 encoding looks like this...

<DIV>\u00c2\u00a0</DIV>

The source from my browser looks like this:

<div>Â&nbsp;</div>

Based on the kid ticket referenced above, it appears as though there
may be an extra tag related to the charset I need in my kid template,
which originally was like this:

<div xmlns:py="http://purl.org/kid/ns#";>
<div>&nbsp;</div>
</div>

Since this widget doesn't have a head that I could shove <meta
content="text/html; charset=UTF-8" /> into (mentioned from ticket 98
above), what do you suggest? I've tried adding these attributes to the
outermost div as well as putting this tag inside as a child of the
outermost div but without any luck. Hopefully, this is just a simple
thing that I'm not getting.


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to