|
From: | Jason Rumney |
Subject: | Re: 23.0.60; Defaut encoding for XML files should be undefined (instead of utf-8) |
Date: | Sat, 16 Feb 2008 09:58:36 +0000 |
User-agent: | Thunderbird 2.0.0.9 (Windows/20071031) |
Stephen J. Turnbull wrote:
Stefan Monnier writes: Man, don't go there. XML documents *and fragments* should be presumed Unicode until the user explictly says otherwise. Make it easy for the user to do that, make it as easy as you like (eg, with a variable containing the regexp ".*\.xml$"), but don't try to guess until the user asks you to, please.
I think you're misunderstanding. Currently we use utf-8 in absense of a coding tag, even if it causes a decoding error. And when the user explicitly sets the file-coding-system to latin-1, we ignore it and save as utf-8. That is the behaviour we want to change, not the behaviour of defaulting to UTF-8.
[Prev in Thread] | Current Thread | [Next in Thread] |