svenfuchs/i18n — Issue #115: failing tests with LANG=C
Author: terceiro
Created: 2011-11-04 15:31:44+00:00
State: open

```
..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................EEEEEEEEEEE...........................................................................................................................................................................................................................................................................................................................................................................................................

Finished tests in 0.671870s, 1536.0113 tests/s, 2149.2251 assertions/s.

1) Error:
test_backend_loads_po_file(I18nGettextBackendTest):
ArgumentError: invalid byte sequence in US-ASCII
src/poparser.ry:127:in `==='
src/poparser.ry:127:in `parse'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/gettext.rb:37:in `parse'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/gettext.rb:32:in `load_po'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/base.rb:157:in `load_file'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/base.rb:15:in `block in load_translations'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/base.rb:15:in `each'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/base.rb:15:in `load_translations'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/simple.rb:57:in `init_translations'
/tmp/buildd/ruby-i18n-0.6.0/test/gettext/backend_test.rb:29:in `test_backend_loads_po_file'
/usr/lib/ruby/vendor_ruby/mocha/integration/mini_test/version_201_to_202.rb:27:in `run'

2) Error:
test_looks_up_a_namespaced_translation(I18nGettextBackendTest):
ArgumentError: invalid byte sequence in US-ASCII
src/poparser.ry:127:in `==='
src/poparser.ry:127:in `parse'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/gettext.rb:37:in `parse'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/gettext.rb:32:in `load_po'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/base.rb:157:in `load_file'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/base.rb:15:in `block in load_translations'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/base.rb:15:in `each'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/base.rb:15:in `load_translations'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/simple.rb:57:in `init_translations'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/simple.rb:71:in `lookup'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/base.rb:26:in `translate'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n.rb:156:in `block in translate'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n.rb:152:in `catch'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n.rb:152:in `translate'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/gettext/helpers.rb:17:in `sgettext'
/tmp/buildd/ruby-i18n-0.6.0/test/gettext/backend_test.rb:44:in `test_looks_up_a_namespaced_translation'
/usr/lib/ruby/vendor_ruby/mocha/integration/mini_test/version_201_to_202.rb:27:in `run'

3) Error:
test_looks_up_a_translation(I18nGettextBackendTest):
ArgumentError: invalid byte sequence in US-ASCII
src/poparser.ry:127:in `==='
src/poparser.ry:127:in `parse'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/gettext.rb:37:in `parse'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/gettext.rb:32:in `load_po'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/base.rb:157:in `load_file'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/base.rb:15:in `block in load_translations'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/base.rb:15:in `each'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/base.rb:15:in `load_translations'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/simple.rb:57:in `init_translations'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/simple.rb:71:in `lookup'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/base.rb:26:in `translate'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n.rb:156:in `block in translate'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n.rb:152:in `catch'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n.rb:152:in `translate'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/gettext/helpers.rb:11:in `gettext'
/tmp/buildd/ruby-i18n-0.6.0/test/gettext/backend_test.rb:35:in `test_looks_up_a_translation'
/usr/lib/ruby/vendor_ruby/mocha/integration/mini_test/version_201_to_202.rb:27:in `run'

4) Error:
test_ngettextpluralizes_entry_with_dots(I18nGettextBackendTest):
ArgumentError: invalid byte sequence in US-ASCII
src/poparser.ry:127:in `==='
src/poparser.ry:127:in `parse'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/gettext.rb:37:in `parse'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/gettext.rb:32:in `load_po'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/base.rb:157:in `load_file'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/base.rb:15:in `block in load_translations'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/base.rb:15:in `each'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/base.rb:15:in `load_translations'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/simple.rb:57:in `init_translations'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/simple.rb:71:in `lookup'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/base.rb:26:in `translate'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n.rb:156:in `block in translate'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n.rb:152:in `catch'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n.rb:152:in `translate'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/gettext/helpers.rb:43:in `nsgettext'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/gettext/helpers.rb:28:in `ngettext'
/tmp/buildd/ruby-i18n-0.6.0/test/gettext/backend_test.rb:89:in `test_ngettextpluralizes_entry_with_dots'
/usr/lib/ruby/vendor_ruby/mocha/integration/mini_test/version_201_to_202.rb:27:in `run'

5) Error:
test_pluralizes_default_entry(I18nGettextBackendTest):
ArgumentError: invalid byte sequence in US-ASCII
src/poparser.ry:127:in `==='
src/poparser.ry:127:in `parse'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/gettext.rb:37:in `parse'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/gettext.rb:32:in `load_po'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/base.rb:157:in `load_file'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/base.rb:15:in `block in load_translations'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/base.rb:15:in `each'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/base.rb:15:in `load_translations'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/simple.rb:57:in `init_translations'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/simple.rb:71:in `lookup'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/base.rb:26:in `translate'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n.rb:156:in `block in translate'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n.rb:152:in `catch'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n.rb:152:in `translate'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/gettext/helpers.rb:43:in `nsgettext'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/gettext/helpers.rb:28:in `ngettext'
/tmp/buildd/ruby-i18n-0.6.0/test/gettext/backend_test.rb:60:in `test_pluralizes_default_entry'
/usr/lib/ruby/vendor_ruby/mocha/integration/mini_test/version_201_to_202.rb:27:in `run'

6) Error:
test_pluralizes_entry(I18nGettextBackendTest):
ArgumentError: invalid byte sequence in US-ASCII
src/poparser.ry:127:in `==='
src/poparser.ry:127:in `parse'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/gettext.rb:37:in `parse'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/gettext.rb:32:in `load_po'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/base.rb:157:in `load_file'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/base.rb:15:in `block in load_translations'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/base.rb:15:in `each'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/base.rb:15:in `load_translations'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/simple.rb:57:in `init_translations'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/simple.rb:71:in `lookup'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/base.rb:26:in `translate'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n.rb:156:in `block in translate'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n.rb:152:in `catch'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n.rb:152:in `translate'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/gettext/helpers.rb:43:in `nsgettext'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/gettext/helpers.rb:28:in `ngettext'
/tmp/buildd/ruby-i18n-0.6.0/test/gettext/backend_test.rb:55:in `test_pluralizes_entry'
/usr/lib/ruby/vendor_ruby/mocha/integration/mini_test/version_201_to_202.rb:27:in `run'

7) Error:
test_pluralizes_namespaced_default_entry(I18nGettextBackendTest):
ArgumentError: invalid byte sequence in US-ASCII
src/poparser.ry:127:in `==='
src/poparser.ry:127:in `parse'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/gettext.rb:37:in `parse'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/gettext.rb:32:in `load_po'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/base.rb:157:in `load_file'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/base.rb:15:in `block in load_translations'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/base.rb:15:in `each'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/base.rb:15:in `load_translations'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/simple.rb:57:in `init_translations'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/simple.rb:71:in `lookup'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/base.rb:26:in `translate'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n.rb:156:in `block in translate'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n.rb:152:in `catch'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n.rb:152:in `translate'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/gettext/helpers.rb:43:in `nsgettext'
/tmp/buildd/ruby-i18n-0.6.0/test/gettext/backend_test.rb:73:in `test_pluralizes_namespaced_default_entry'
/usr/lib/ruby/vendor_ruby/mocha/integration/mini_test/version_201_to_202.rb:27:in `run'

8) Error:
test_pluralizes_namespaced_entry(I18nGettextBackendTest):
ArgumentError: invalid byte sequence in US-ASCII
src/poparser.ry:127:in `==='
src/poparser.ry:127:in `parse'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/gettext.rb:37:in `parse'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/gettext.rb:32:in `load_po'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/base.rb:157:in `load_file'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/base.rb:15:in `block in load_translations'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/base.rb:15:in `each'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/base.rb:15:in `load_translations'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/simple.rb:57:in `init_translations'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/simple.rb:71:in `lookup'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/base.rb:26:in `translate'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n.rb:156:in `block in translate'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n.rb:152:in `catch'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n.rb:152:in `translate'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/gettext/helpers.rb:43:in `nsgettext'
/tmp/buildd/ruby-i18n-0.6.0/test/gettext/backend_test.rb:66:in `test_pluralizes_namespaced_entry'
/usr/lib/ruby/vendor_ruby/mocha/integration/mini_test/version_201_to_202.rb:27:in `run'

9) Error:
test_pluralizes_namespaced_entry_with_alternative_syntax(I18nGettextBackendTest):
ArgumentError: invalid byte sequence in US-ASCII
src/poparser.ry:127:in `==='
src/poparser.ry:127:in `parse'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/gettext.rb:37:in `parse'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/gettext.rb:32:in `load_po'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/base.rb:157:in `load_file'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/base.rb:15:in `block in load_translations'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/base.rb:15:in `each'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/base.rb:15:in `load_translations'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/simple.rb:57:in `init_translations'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/simple.rb:71:in `lookup'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/base.rb:26:in `translate'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n.rb:156:in `block in translate'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n.rb:152:in `catch'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n.rb:152:in `translate'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/gettext/helpers.rb:43:in `nsgettext'
/tmp/buildd/ruby-i18n-0.6.0/test/gettext/backend_test.rb:81:in `test_pluralizes_namespaced_entry_with_alternative_syntax'
/usr/lib/ruby/vendor_ruby/mocha/integration/mini_test/version_201_to_202.rb:27:in `run'

10) Error:
test_uses_default_translation(I18nGettextBackendTest):
ArgumentError: invalid byte sequence in US-ASCII
src/poparser.ry:127:in `==='
src/poparser.ry:127:in `parse'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/gettext.rb:37:in `parse'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/gettext.rb:32:in `load_po'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/base.rb:157:in `load_file'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/base.rb:15:in `block in load_translations'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/base.rb:15:in `each'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/base.rb:15:in `load_translations'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/simple.rb:57:in `init_translations'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/simple.rb:71:in `lookup'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/base.rb:26:in `translate'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n.rb:156:in `block in translate'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n.rb:152:in `catch'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n.rb:152:in `translate'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/gettext/helpers.rb:11:in `gettext'
/tmp/buildd/ruby-i18n-0.6.0/test/gettext/backend_test.rb:39:in `test_uses_default_translation'
/usr/lib/ruby/vendor_ruby/mocha/integration/mini_test/version_201_to_202.rb:27:in `run'

11) Error:
test_uses_namespaced_default_translation(I18nGettextBackendTest):
ArgumentError: invalid byte sequence in US-ASCII
src/poparser.ry:127:in `==='
src/poparser.ry:127:in `parse'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/gettext.rb:37:in `parse'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/gettext.rb:32:in `load_po'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/base.rb:157:in `load_file'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/base.rb:15:in `block in load_translations'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/base.rb:15:in `each'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/base.rb:15:in `load_translations'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/simple.rb:57:in `init_translations'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/simple.rb:71:in `lookup'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/backend/base.rb:26:in `translate'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n.rb:156:in `block in translate'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n.rb:152:in `catch'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n.rb:152:in `translate'
/tmp/buildd/ruby-i18n-0.6.0/debian/ruby-i18n/usr/lib/ruby/vendor_ruby/i18n/gettext/helpers.rb:17:in `sgettext'
/tmp/buildd/ruby-i18n-0.6.0/test/gettext/backend_test.rb:49:in `test_uses_namespaced_default_translation'
/usr/lib/ruby/vendor_ruby/mocha/integration/mini_test/version_201_to_202.rb:27:in `run'

1032 tests, 1444 assertions, 0 failures, 11 errors, 0 skips
```

To reproduce, just run `LANG=C rake`.