Fix for Ruby v1.9 unicode