https://code.mulgara.org/https://code.mulgara.org/favicon.ico?15861924492009-09-03T14:43:21ZMulgara ProjectMulgara - Bug #197: SPARQL results char encodinghttps://code.mulgara.org/issues/197?journal_id=16352009-09-03T14:43:21ZGregg -gar@foo.bar
<ul></ul><p>Oops. I guess that should read something like "the charset parameter of the Accept header should govern"; e.g. "Accept: application/sparql-results+json; charset=UTF-16". Accept-Charset doesn't apply.</p>
<p>Also, <a href="http://www.ietf.org/rfc/rfc4627.txt" class="external">RFC 4627</a>, "The application/json Media Type for <a class="wiki-page new" href="https://code.mulgara.org/projects/mulgara/wiki/JavaScript">JavaScript</a> Object Notation (JSON)", says (Section 3, Encoding) " JSON text SHALL be encoded in Unicode. The default encoding is UTF-8." So it's not the sparql definition but the json definition that requires unicode and, effectively, utf-8.</p>