Grails

Within a plugin project, encoding is not set to UTF-8

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Duplicate
  • Affects Version/s: 1.1
  • Fix Version/s: 1.2-M3
  • Component/s: None
  • Labels:
    None

Description

Steps to reproduce the problem:

1) grails create-plugin test
2) Under grails-app/views, create a index.gsp with non-english characters (eg: ñáéíóú).
3) Make sure you save it as UTF-8.
4) When running, characters are wrong displayed (eg: 'ñ' instead 'ñ').

However, if you do:

1) grails create-app test2
2) Under grails-app/views, edit the default index.gsp adding non-english characters (eg: ñáéíóú).
3) Make sure you save it as UTF-8.
4) It works.

Activity

Hide
Graeme Rocher added a comment -

duplicates GRAILS-4424

Show
Graeme Rocher added a comment - duplicates GRAILS-4424

People

Vote (2)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: