add test for encodings

test for this:
http://sourceforge.net/p/smarty-gettext/discussion/370920/thread/b4cc9e8f/
but seems there is no issue here