Fulio,

mileage may vary but this works for me in Opera:

<svg>
<text>
moon: &#x6708;
</text>
</svg>

obviously you'll want to improve on this in a number of ways...

best wishes


Jonathan Chetwynd

[EMAIL PROTECTED]
http://www.openicon.org/

+44 (0) 20 7978 1764


On 9 Sep 2008, at 20:37, Fulio Pen wrote:

> hello,
>
> I am trying to replace the English object names in an svg file with  
> Chinese ideographic writing.  My purpose to compare the
>
> features of English and Chinese writing.  Following is the svg file:
>
> http://www.pinyinology.com/test/chinese2.svg
>
>
> And following is the code which is already in the svg file:
>
>
> <script type="text/javascript">
> function chinText()
> {
>  document.getElementById("moon").innerHTML = "\u6708";
> document.getElementById("tree").innerHTML = "\u6728";
> document.getElementById("man").innerHTML = "\u4eba";
> document.getElementById("water").HTML =  "\u6c34";
> }
> </script>
>
> I tested the above code in an
> html page. It works. But I don't know how to implement the code in  
> the svg file. Following is the html page:
>
> http://www.pinyinology.com/test/span2.html
>
> I hope someone can help me. Thanks for your expertise.
>
> Fulio Pen
>
>
>
>
> [Non-text portions of this message have been removed]
>
>
> ------------------------------------
>
> -----
> To unsubscribe send a message to: [EMAIL PROTECTED]
> -or-
> visit http://groups.yahoo.com/group/svg-developers and click "edit  
> my membership"
> ----Yahoo! Groups Links
>
>
>



[Non-text portions of this message have been removed]


------------------------------------

-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
----Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to