steveire / grantlee

Libraries for text templating with Qt
Other
141 stars 50 forks source link

Fix Latin1 to Utf8 for translations #14

Closed vlefort closed 8 years ago

vlefort commented 8 years ago

All should be utf-8 : templates, properties but when using translations, grantlee use toLatin1 instead of toUtf8 so accents in templates files (i'm french) don't work.

steveire commented 8 years ago

I added a unit test for this and applied the fix: https://github.com/steveire/grantlee/commit/12a49dcdd01285808caa24dd3a9ef358e4639dfe

Thanks!