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

Allow to write resource files in UTF-8 #218

Open
vankeisb opened this issue May 12, 2014 · 3 comments
Open

Allow to write resource files in UTF-8 #218

vankeisb opened this issue May 12, 2014 · 3 comments
Labels

Comments

@vankeisb
Copy link
Member

\u's are so boring...

@vankeisb
Copy link
Member Author

vankeisb commented Jun 3, 2014

buggy ! We have found cases where the resources suddenly get read in non-UTF-8, and thereby special chars are wrecked.
Not sure the localization bundle used by Stripes is used by fmt:message...

@vankeisb
Copy link
Member Author

Found the cause of the bug !
Problem happens if you load any message with JSTL's fmt tag before using Woko.getLocalizedMessage. I don't know exactly why, but this definitely causes the default bundle load process to be kicked instead of our overriden version that uses an utf-8 enabled Control.

vankeisb added a commit that referenced this issue Mar 13, 2015
…ko bundles are loaded. DO NOT USE fmt:message, as it could break stuff.
@vankeisb
Copy link
Member Author

Not sure this bug is really closed, as we do not prevent the use of fmt:message, and it shows that we don't necessarily control the way bundles are loaded.
Keep this bug open until we find the actual cause. But removing from 2.4 milestone.

@vankeisb vankeisb removed this from the 2.4 milestone Mar 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant