Not a bug

unicode problems when embedded

Vladimir Alexiev 3 years ago updated 3 years ago 3

http://rawgit2.com/VladimirAlexiev/my/master/index.html shows unicode problems:

Alexiev, V.; Michon, P.; and Dunn, H. In Wébinaire Wiki, data et GLAM 2021, June 2021. Wikimédia France

If you look at the source, you'll see it uses the recommended embedding method.

The same bib file displayed standalone doesn't have unicode problems:


So it seems to me that adding "jsonp=1" messes up Unicode somehow?

I captured the content of "jsonp=1"

curl "https://bibbase.org/show?bib=http://rawgit2.com/VladimirAlexiev/my/master/Alexiev-bibliography.bib&jsonp=1&theme=side" > a.json

and it is fine: "Wikimédia France"

Which means that the interpreting javascript does something wrong>

Not a bug

No, the issue is that for some reason your page is explicitly enforcing ascii encoding. This is at the top of your html file:

<?xml version="1.0" encoding="US-ASCII"?>

These xml headers are no longer recommended. I would remove it and to be safe also add

<meta charset="UTF-8">

to your html head.