i18n - Problem editing resource bundle (properties file)

When editing locale-specific message bundles (like messages_pt.properties) and adding portuguese accented characters like "é", Grails (the browser, effectively) do not show them correctly at runtime.

I'm not sure if this is influenced by the IDE Settings -> General (Ctrl + Alt + S), but I have tried several variations for the options "File Encoding" and "Properties Files".

If I edit the messages_pt.properties in a external editor (Textpad, OpenOffice) this do not happens. However, if I touch (edit) one time the file with IDEA, the error will persist even if I use the external editor.

How solve this?

Thanks a lot!

Idea: 7.0.4
JetGroovy: 1.6.18583

File Encoding Properties Files.jpg

Please sign in to leave a comment.