When using mapDK() in Windows, encoding of Danish characters ÆØÅ is messed up. As far as I can tell, this is a really thorny cross-platform issue: changing the encoding can fix the issue on Windows, but will mess the encoding up on Mac.
Suggested solution 1: Only use numeric id's. (Not optimal, since many data sources only provide name id's.)
Suggested solution 2: Convert all name id's to lower case, no Scandinavian letters. For example:
When using mapDK() in Windows, encoding of Danish characters ÆØÅ is messed up. As far as I can tell, this is a really thorny cross-platform issue: changing the encoding can fix the issue on Windows, but will mess the encoding up on Mac.
Suggested solution 1: Only use numeric id's. (Not optimal, since many data sources only provide name id's.)
Suggested solution 2: Convert all name id's to lower case, no Scandinavian letters. For example: