Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Umlaut data is missing #37

Open
vandres opened this issue May 4, 2023 · 0 comments
Open

Bug: Umlaut data is missing #37

vandres opened this issue May 4, 2023 · 0 comments

Comments

@vandres
Copy link

vandres commented May 4, 2023

We are trying to parse an Infobox from a German muncipality (https://de.wikipedia.org/wiki/Muhr_am_See). The API response looks like this:

{{Infobox Gemeinde in Deutschland
|Name              = Muhr a.See
|Wappen            = Wappen Muhr am See.svg
|Breitengrad       = 49/9/19/N
|Längengrad        = 10/42/39/E
|Lageplan          = Muhr am See in WUG.svg
|Bundesland        = Bayern
|Regierungsbezirk  = Mittelfranken
|Landkreis         = Weißenburg-Gunzenhausen
|Höhe              = 417 <!-- Quelle: Geodatenzentrum -->
|PLZ               = 91735
|Vorwahl           = 09831
|Gemeindeschlüssel = 09577114
|Gliederung        = 3 [[Gemeindeteil]]e
|Adresse           = Rosenau 1<br />91735 Muhr a.See
|Website           = [https://www.muhr-am-see.de/ www.muhr-am-see.de]
|Bürgermeister     = Dieter Rampe
|Bürgermeistertitel= [[Bürgermeister#Bayern|Erster Bürgermeister]]
|Partei            = [[Wählergruppe|Gemeinschaftsliste]]
}}

The parsed result looks the following:

{
  general: {
    name: 'Muhr a.See',
    wappen: 'Wappen Muhr am See.svg',
    breitengrad: '49/9/19/N',
    lageplan: 'Muhr am See in WUG.svg',
    bundesland: 'Bayern',
    regierungsbezirk: 'Mittelfranken',
    landkreis: 'Weißenburg-Gunzenhausen',
    plz: '91735',
    vorwahl: '09831',
    gliederung: '3 Gemeindeteile',
    adresse: 'Rosenau 1,91735 Muhr a.See',
    website: '[https://www.muhr-am-see.de/ www.muhr-am-see.de]',
    partei: 'Wählergruppe'
  },
  tables: [],
  bsTables: null,
  lists: []
}

All the data identified by an Umlaut are missing in the result. E.g. "Höhe", "Bürgermeister"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant