worksome / company-info

Lookup company information

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

odinns opened this issue · comments

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.