5 Dec, 2008 in mysql by khelll

Now a days, UTF-8 is the most used data encoding format, and the fact that your database is not using UTF8 encoding is really annoying, specially additionally when it comes to integrating different systems, that has no one unified encoding format.
So if you think it’s time to change your data encoding to utf8 format, then [...]

5 Dec, 2008 in Grails by khelll

A little problem that i faced with grails , was setting the locale dynamically, i followed this nice article , and here is how i could manage it :

I made a new file called messages_ar.properties that contains the arabic localization under the i18n folder.
I made a simple beforeinterceptor:

def beforeInterceptor = {
[...]