[
Lists Home |
Date Index |
Thread Index
]
- From: MURATA Makoto <murata@apsdc.ksp.fujixerox.co.jp>
- To: xml-dev@ic.ac.uk
- Date: Sat, 03 Apr 1999 20:08:33 +0900
David Brownell wrote:
> True -- but if there's one basic rule that seems safer
> than another, it's "default to application/xml" rather
> than "assume ASCII and stick to text/xml"! :-)
Or, "Use Apache (probably with the AddCharset patch),
specify utf-16, and always use UTF-16." This is my favorite.
(In the case that the charset is broken, autodetection of
UTF-16 is very easy. Moreover, UTF-16 can parse only as
UTF-16.)
In my environment, I added a few lines to the "httpd.conf" file
of Apache. They are as below:
AddType "text/html; charset=shift_jis" htm
AddType "text/html; charset=shift_jis" html
AddType "text/html; charset=utf-8" htm8
AddType "text/html; charset=utf-16" htm16
AddType "text/xml; charset=utf-16" xml
AddType "text/xml; charset=utf-8" xml8
AddType "text/xml; charset=utf-16" xml16
Cheers,
Makoto
Fuji Xerox Information Systems
Tel: +81-44-812-7230 Fax: +81-44-812-7231
E-mail: murata@apsdc.ksp.fujixerox.co.jp
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)
|