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

French i18n files are read incorrectly #110

Closed
40rn05lyv opened this issue Sep 21, 2021 · 1 comment
Closed

French i18n files are read incorrectly #110

40rn05lyv opened this issue Sep 21, 2021 · 1 comment

Comments

@40rn05lyv
Copy link
Contributor

    final Zxcvbn zxcvbn = new Zxcvbn();
    final Strength strength = zxcvbn.measure("01011991");

See strength.getFeedback().getWarning(Locale.FRENCH). Expected: Les dates sont souvent faciles à deviner., however Java reads the file as Les dates sont souvent faciles à deviner.. Notice the à symbol that shouldn't be there.

@40rn05lyv
Copy link
Contributor Author

This is how such files should be written: https://github.com/GoSimpleLLC/nbvcxz/blob/master/src/main/resources/feedback_fr.properties , i.e. encoded as \u00E0

vvatanabe added a commit that referenced this issue Apr 3, 2022
Fixes #110 - correct encoding for French and German.
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