Re: Displaying chinese ideographs in svg page with Javascript and unicode

Hi,

I downloaded your svg page with the W3C's editor Amaya, saving it with the
charset "UTF-8". Then I edited the document and included a Chinese character
for "Moon". It is displayed well in Firefox. See attachment.

I'm not sure whether it is what you want. Javascript need to be use only if you
want the text to change dynamically.

HTH,

Fred

> Hello, List Members:
>
>
>
> I need help on an svg page that I am working on.  First, please open the
> following svg page:
>
> http://www.pinyinology.com/test/tree2.svg
>
> I
> want to replace  the English words in above page with
> corresponding  ideographic Chinese characters. Directly entering 
> Chinese characters into the svg file with Chinese IME doesn't work,
> because the characters do not show on the IE and Firefox browsers.  So the
> characters must be displayed with Javascript code unicode, like what is done
> in the following page:
>
> http://www.pinyinology.com/test/characters.svg
>
> Four Chinese characters will displayed in the page.  Their unicode are listed
> in the following page:
>
> http://www.pinyinology.com/test/span3.html
>
> Please note that each character will appear at four different locations in
> the page.
>  Also, the English words should be removed  Only the Chinese character will
> appear in the page.
>
> Thanks for your expertise and help.
> fuliopen
>
>
>
>

Received on Sunday, 14 September 2008 11:56:14 UTC