W3C home > Mailing lists > Public > www-svg@w3.org > September 2008

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

From: <fred.wang@free.fr>
Date: Sun, 14 Sep 2008 13:55:39 +0200
Message-ID: <1221393339.48ccfbbb936f4@imp.free.fr>
To: Fulio Pen <fuliopen@yahoo.com>
Cc: www-svg@w3.org
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
>
>
>
>




tree.svg
(image/svg+xml attachment: tree.svg)

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

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:40 GMT