This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
=?gb2312?B?tPC4tDogW3hzbF0gaG93IHRvIGNoYW5nZSB4bWwgRU5DT0RJTkcgZA==?==?gb2312?B?eW5hbWljbHk=?=
- From: "dragon" <dragon at chinaren-inc dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Wed, 27 Mar 2002 16:42:55 +0800
- Subject: [xsl] =?gb2312?B?tPC4tDogW3hzbF0gaG93IHRvIGNoYW5nZSB4bWwgRU5DT0RJTkcgZA==?==?gb2312?B?eW5hbWljbHk=?=
- Reply-to: xsl-list at lists dot mulberrytech dot com
Yeah,I see.
Do u know How can I change the default encoding?
You see,I need load a xml, then let users change It in client.
at last the Source of XML will Submit to the Server.
And Will display next time.
So I must change It correctly.
before I find the correct function, I have to replace it in jsp. But I
feel so unwell.
-----邮件原件-----
发件人: owner-xsl-list@lists.mulberrytech.com
[mailto:owner-xsl-list@lists.mulberrytech.com] 代表
Jarno.Elovirta@nokia.com
发送时间: 2002年3月27日 15:55
收件人: xsl-list@lists.mulberrytech.com
主题: RE: [xsl] how to change xml ENCODING dynamicly
Hi,
> I have a xml,just like:
>
> <?xml version="1.0" encoding="gb2312"?>
> <root>
> <a>abc </a>
> <b>ddd</b>
> <c>cccc</c>
> </root>
>
> and in the client,I use a xsl and html to let users change the xml's
> data. and then I need submit to a jsp file. but,when I saved, the xml
> is lost something! It lost's encoding info.... just like this:
>
> <?xml version="1.0"?>
> <root>
> <a>abc </a>
> <b>ddd</b>
> <c>cccc</c>
> </root>
> what should I do before I submit it?
> Can anybody tell me? thank u a lot!!
It hasn't "lost" it's encoding, but rather is using the default one,
UTF-8.
Santtu
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list