Yoshie2000
Yoshie2000

Reputation: 300

How to change character encoding to UTF-8 in Grails 3.3.9?

My grails application doesn't render german Umlaute correctly (ä, ö, ü). I didn't find any information on how to change the character encoding in Grails 3.3.9.

I have already tried putting the following into the application.yml:

grails:
    converters:
            encoding: UTF-8

But that didn't change that if I put Umlaute in my Java / Groovy files, they don't get displayed properly. Is there anything else I have to do?

Upvotes: 0

Views: 740

Answers (1)

Lonyui
Lonyui

Reputation: 101

try add

grails:
    views:
        gsp:
            encoding: UTF-8

Upvotes: 0

Related Questions