grosser/fast_gettext — pull request #34 by ujh (2012-03-30 14:07:42+00:00)
Title: Broken translations when the msgids contain non-ASCII characters

I'm currently working on a project where we're using German as the source language. The problem is that when there are non-ASCII characters in the msgids then the translations can't be found because the keys aren't properly encoded when loading the *.mo file. It's probably just an oversight as the msgstrs are properly encoded.

This pull request also updates to the latest MOFile class from gettext 2.2.0 while the modifications (i.e. using FastGettext::Iconv).

I've added a test case for this and in the process I had to modify the de/test.po file as it was out of sync with the de/LC_MESSAGES/test.mo file.