Atom feed incorrectly unicode encoded?

34 views
Skip to first unread message

Jimbo Jones

unread,
Jul 14, 2011, 10:26:15 AM7/14/11
to arXiv api
Hi

I'm running a simple search for "test & Brissaud" as it revealed a
case in my code where the XML serializer fails due to malformed
characters.

I run the query: http://export.arxiv.org/api/query?search_query=all:test+AND+all:brissaud&start=0&max_results=10

The results are returned as:

<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<link href="http://arxiv.org/api/query?search_query%3Dall%3Atest
%20AND%20all%3Abrissaud%26id_list%3D%26start%3D0%26max_results%3D10"
rel="self" type="application/atom+xml"/>
<title type="html">ArXiv Query: search_query=all:test AND
all:brissaud&amp;id_list=&amp;start=0&amp;max_results=10</title>
<id>http://arxiv.org/api/gj5VpX47eMf/rShavQJJKGgk4AY</id>
<updated>2011-07-14T00:00:00-04:00</updated>
<opensearch:totalResults xmlns:opensearch="http://a9.com/-/spec/
opensearch/1.1/">4</opensearch:totalResults>
<opensearch:startIndex xmlns:opensearch="http://a9.com/-/spec/
opensearch/1.1/">0</opensearch:startIndex>
<opensearch:itemsPerPage xmlns:opensearch="http://a9.com/-/spec/
opensearch/1.1/">10</opensearch:itemsPerPage>
<entry>
<id>http://arxiv.org/abs/1007.5447v1</id>
<updated>2010-07-30T13:32:58Z</updated>
<published>2010-07-30T13:32:58Z</published>
<title>Politiques de Tests Partiels \&amp; Syst�mes de S�curit�</
title>

...

Where the title should be "... Systèmes de Sécurité" (French accent
grave & aigu).

Is this a mismatch between the encoding and declaring the XML as
encoding="utf-8" ?

Thanks, Jim

Thorsten S

unread,
Jul 14, 2011, 11:45:14 AM7/14/11
to arxi...@googlegroups.com
thanks for reporting, now fixed

Cheers
T.

> --
> You received this message because you are subscribed to the Google Groups "arXiv api" group.
> To post to this group, send email to arxi...@googlegroups.com.
> To unsubscribe from this group, send email to arxiv-api+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/arxiv-api?hl=en.
>
>

Reply all
Reply to author
Forward
0 new messages