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

Set output_encoding to iso-8859-1 for properties configs #382

Merged
merged 1 commit into from
May 18, 2020

Conversation

vjrj
Copy link
Collaborator

@vjrj vjrj commented Apr 14, 2020

In Guatemala deployment we notice that its organization name is not correctly encoded:
https://snib.conap.gob.gt/registros/#tab_simpleSearch
this is because properties should be encoded in iso-8859-1 to allow use of non-latin characters, see
https://stackoverflow.com/questions/37436927/utf-8-encoding-of-application-properties-attributes-in-spring-boot
this doesn't happen with yml configs.

This patch add output_encoding=iso-8859-1 to the main ALA modules that still use properties as config.

We didn't have this problem because, for instance, in Spain we use latin characters for our OrgName etc.

Tested with orgName in:
https://collections.l-a.site/
https://species.l-a.site/

Also related: #381

@djtfmartin djtfmartin merged commit f8e7d54 into AtlasOfLivingAustralia:master May 18, 2020
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

Successfully merging this pull request may close these issues.

2 participants