Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FreeBSD: broken lib.iconv #3

Open
jwilk opened this issue Dec 5, 2017 · 0 comments
Open

FreeBSD: broken lib.iconv #3

jwilk opened this issue Dec 5, 2017 · 0 comments
Labels

Comments

@jwilk
Copy link
Owner

jwilk commented Dec 5, 2017

I'm getting these test failures on FreeBSD 11.1:

======================================================================
ERROR: tests.test_encodings.test_extra_encoding.test_mb_encode_error
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jwilk/.local/lib/python3.6/site-packages/nose/case.py", line 198, in runTest
    self.test(*self.arg)
  File "/usr/home/jwilk/i18nspector/tests/../tests/tools.py", line 89, in wrapper
    raise IsolatedError('\n\n' + msg)
tests.tools.IsolatedError: 

Traceback (most recent call last):
  File "/usr/home/jwilk/i18nspector/tests/../tests/tools.py", line 66, in wrapper
    f(*args, **kwargs)
  File "/usr/home/jwilk/i18nspector/tests/../tests/test_encodings.py", line 252, in test_mb_encode_error
    u.encode('EUC-TW')
AssertionError: UnicodeEncodeError not raised

======================================================================
FAIL: tests.test_iconv.test_tcvn.test_decode
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jwilk/.local/lib/python3.6/site-packages/nose/case.py", line 198, in runTest
    self.test(*self.arg)
  File "/usr/home/jwilk/i18nspector/tests/../tests/test_iconv.py", line 38, in test_decode
    assert_equal(u, self.u)
AssertionError: '\x00\x00 \x00ạ\x00\x00 \x00\x00\x00 \x00ấ[45 chars]\x00' != 'Do bạch kim rất quý, sẽ để lắp vô xương'

It looks like lib.iconv is completely broken.

@jwilk jwilk added the bug label Jun 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant