Great! That was fast! :-)

On Tue, Apr 21, 2009 at 16:47, Hugh Williams <[email protected]> wrote:
> Hi Christopher/Ryan,
> This encoding issue with XML results has been resolved, please check and you
> will find both queries now return the expected XML results output ...
> Best Regards
> Hugh Williams
> Professional Services
> OpenLink Software
> Web: http://www.openlinksw.com
> Support: http://support.openlinksw.com
> Forums: http://boards.openlinksw.com/support
>
>
> On 21 Apr 2009, at 13:02, Christopher Sahnwaldt wrote:
>
> Hi,
> I guess Virtuoso somehow does a duplicate UTF-8 encoding.
> More precisely: at some point, bytes that represent a UTF-8
> encoded string are produced (with correct encoding), but those
> bytes are then interpreted as a ISO-8859-1 encoded string
> (which messes up the encoding), and that string (with broken
> encoding) is then converted to UTF-8 bytes again.
> The same problem occurs with the query:
> SELECT ?label WHERE
> {
> <http://dbpedia.org/resource/Kingdom_of_Le%C3%B3n> rdfs:label ?label .
> FILTER(lang(?label) = "en")
> }
> Bye,
> Christopher
> On Tue, Apr 21, 2009 at 01:48, Ryan Shaw <[email protected]>
> wrote:
>
> Hello,
> I am having problems with incorrectly encoded characters in XML
> results from the DBpedia SPARQL endpoint. For example, the following
> query:
> SELECT ?label WHERE {
> <http://dbpedia.org/resource/Kingdom_of_Italy_%281861%E2%80%931946%29>
> rdfs:label ?label .
> FILTER(lang(?label) = "en") }
> The XML results return:
> <binding name="label"><literal xml:lang="en">Kingdom of Italy
> (1861–1946)</literal></binding>
> Note the garbage character between "1861" and "1946".
> The HTML and JSON results have no such problem.
> Ryan
> ------------------------------------------------------------------------------
> Stay on top of everything new and different, both inside and
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today.
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> _______________________________________________
> Dbpedia-discussion mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion
>
> ------------------------------------------------------------------------------
> Stay on top of everything new and different, both inside and
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today.
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> _______________________________________________
> Dbpedia-discussion mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion
>

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion

Reply via email to