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

Lookup of names containing 'ø' does not return anything with VIRK #6

Open
odinns opened this issue Mar 25, 2022 · 0 comments
Open

Comments

@odinns
Copy link
Contributor

odinns commented Mar 25, 2022

Example:

The name Asbøg should return:

40358161
Asbøg ApS
Kastanievang 1
Østrup
3670
Veksø Sjælland

But nothing is returned.

Probably we need to encode the name for lookup using a specific charset encoding, rather than whatever is default (utf-8).

Documentation at VIRK does not seem to specify any particular charset encoding, but since we're sending json, utf-8 should work.

NOTE: Apparently transliteration of æ ø å to ae oe aa, i.e. searching for Asboeg works, so a simple workaround might be to implement such a transliterator.

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

No branches or pull requests

1 participant