In my javascript file there is a message with the string "service" for example. When I run the project (run-app) and check the javascript by the browser, the word appears as: "service". But this is displayed correctly on the screen when the message is invoked.
But when I run the system through a package, and check the javascript through the browser, the word appears as: "service". When the message appears on the screen, it displays: "service"
I found a person with the same problem as mine at this link: link
But the solution to using "-Dfile.encoding = UTF-8" did not work for me.
I tried the commands below and nothing:
grails -Dfile.encoding = UTF-8 package
gradle -Dfile.encoding = UTF-8 assetCompile