W3C home > Mailing lists > Public > public-forms@w3.org > April 2012

Re: submission/@encoding

From: Erik Bruchez <erik@bruchez.org>
Date: Mon, 23 Apr 2012 11:27:00 -0700
Message-ID: <CAAc0PEVg1_z_hzocp28vjb28_04=YqWgL6yrXJVmrPkj2rdtmw@mail.gmail.com>
To: Forms WG <public-forms@w3.org>
On Thu, Apr 19, 2012 at 6:45 AM, Steven Pemberton
<Steven.Pemberton@cwi.nl> wrote:
> In http://www.w3.org/MarkUp/Forms/wiki/XForms_2.0#The_submission_Element_2
> it says:
>
>        encoding
>        Author-optional attribute specifying an encoding for serialization.
> The default is "UTF-8".
>
> Does this mean that we only require UTF-8 and the rest are MAYs? Should we
> not say more here?

XML 1.0 says the following [1]:

"All XML processors must accept the UTF-8 and UTF-16 encodings of Unicode"

So when dealing with XML, UTF-8 and UTF-16 are required. When dealing
with other text content, I don't know.

Either way, I am not sure if we need to say more.

-Erik

[1] http://www.w3.org/TR/REC-xml/#charsets
Received on Monday, 23 April 2012 18:27:50 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 October 2013 22:06:57 UTC