On Aug 7, 2006, at 1:31 AM, GHUM wrote:

>
> Entered in the interpreter cosole of MochiKit
>
>>>> a=DIV("ϕ")
> [object HTMLDivElement]
>>>> toHTML(a)
> "<div>&amp;#x03d5;</div>"
>
>>>> a=DIV("&euro;")
> [object HTMLDivElement]
>>>> toHTML(a)
> "<div>&amp;euro;</div>"
>
>
> So, createDOM helps me by escaping & ... but what can I do if I cannot
> use this help, because I want to enter special symbols?

Unicode, either literally "ϕ" or escaped "\u03d5". Euro would be  
"\u20ac".

-bob


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" 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/mochikit
-~----------~----~----~----~------~----~------~--~---

Reply via email to