I have a problem with the admin area I created with CRUD. I’ve set pretty much everything possible to UTF-8 yet I still have a problem with getting correct (polish) characters in fields such as ł, ó, ż, ć, ą etc. (i get ‘?’ instead). Same happens for initial-data.yml. If I manually save something in database then it displays properly, which seems like a CRUD -> database communication issue. Encoding works properly on not-autogenerated pages. I’ve set all files in crud folder to UTF-8. Any ideas? Help please.
Using play ver. 1.2.3
Well, Play uses only one encoding, namely UTF-8, as they declare it themselves: http://www.playframework.org/documentation/1.1/i18n
This means that you should normally use an UTF-8 encoded database as well, so that whatever you save there from your play application keeps the proper characters in the db as well. Make sure your db is UTF-8 encoded aswell. Also make sure that you haven’t manually changed your views (html pages) encoding to something else other then UTF-8