W3C home > Mailing lists > Public > public-vocabs@w3.org > August 2013

RDFa Lite representation of schema.org: character encoding

From: Dan Scott <dan@coffeecode.net>
Date: Mon, 12 Aug 2013 15:00:26 -0400
To: public-vocabs@w3.org
Message-ID: <20130812190025.GA18086@denials.eastlink.ca>

Please explicitly declare the encoding for the RDFa Lite 1.1
representation of schema.org at

It appears to be UTF8, but is set to neither in the HTTP header or via a
<meta charset="UTF-8"> element.

Declaring this explicitly would assist tools, such as RDFLib/pyRdfa,
that parse the RDFa Lite representation of schema.org and arrive at a
different conclusion about the actual encoding than browsers do. Right
now, for example, the emdash (U+2014) in http://schema.org/Product gets
corrupted when you run a simple script like:

import pyRdfa

Declaring the encoding in a local copy fixes the output.

Dan Scott
Received on Monday, 12 August 2013 19:00:57 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:29:29 UTC