Open Kaligula0 opened 4 years ago
This is a bug in the BGG API. In the first example you show, it's returning ü
instead of ü
. I believe this is due to double encoding. I've tried to reverse this, but I haven't been able to find a way.
Ah, now I see. I filed a bug → https://boardgamegeek.com/thread/2446951/api-generates-wrong-entities-boardgame-description
As I wrote on the above bugreport, it is possible that BGG have added BOMS to the XML response and if I see correctly you use JAVA that can't handle UTF-8 strings with BOM. (JAVA is not a language I am knowledgeable about as I have hardly touched it after 2000, but google seems to sugest this)
API v1 returns properly encoded characters. API v2 has bugs.
Can we move to API v1 then? (with getting the description)
https://www.boardgamegeek.com/boardgame/33458/carcassonne-expansion-6-count-king-robber should have "by Hans im Glück" but renders "by Hans im Glück".![Screenshot_20200531-145233](https://user-images.githubusercontent.com/3950811/83401765-d72c0700-a405-11ea-8d69-b9d3e48a8c4b.png)
Also https://www.boardgamegeek.com/boardgame/18836/Carcassonne-river-II should have "contained in Carcassonne: Expansion 6 – Count, King & Robber" but renders "contained in Carcassonne: Expansion 6 – Count, King & Robber".![Screenshot_20200601-124845](https://user-images.githubusercontent.com/3950811/83401999-40ac1580-a406-11ea-8e39-12ec11c42efd.png)