- From: Graham Klyne <Graham.Klyne@zoo.ox.ac.uk>
- Date: Fri, 06 Jul 2012 17:34:14 +0100
- To: public-prov-wg@w3.org
Stian, On 06/07/2012 09:16, Stian Soiland-Reyes wrote: > On Fri, Jul 6, 2012 at 8:15 AM, Luc Moreau<l.moreau@ecs.soton.ac.uk> wrote: >> There is however an optional parameter: empty for SPARQL and as follows for >> turtle. >> >> Optional parameters: charset — this parameter is required when transferring >> non-ASCII data. If present, the value of charset is always UTF-8. > > I think as GK pointed out that you would need to state charset when > you transfer non-ASCII. Pure ASCII is covered by both UTF-8 and the > default ISO8601-1 (Latin 1) as expected by text/*. Wrong ISO number - that's the date-time format. I think you meant ISO/IEC 8859-1 (http://en.wikipedia.org/wiki/ISO/IEC_8859-1). Also, I'd forgotten the wrinkle that HTTP changes the text/* default from ASCII to Latin-1 (strictly in contravention of MIME content-type rules). Also, IIRC, not all Latin-1 code-points are valid UTF-8 encodings of themselves. But otherwise, I agree. #g -- > I think the above optional parameter requirement would cover this > perfectly, although you have to apply a bit of reasoning to figure out > that is what it means. Basically you are saying that you can't say > charset=anythingelse - and if you omit it, rather than the default > latin1, the data needs to be in the ASCII subset. >
Received on Friday, 6 July 2012 16:37:39 UTC