Status: Accepted Owner: ---- Labels: Type-Refactoring Priority-Medium Target-2.5
New issue 474 by pekka.klarck: Cleanup and enhance `utils.unic()` with Jython
http://code.google.com/p/robotframework/issues/detail?id=474 `utils.unic()` can be simplified when we don't need to support Jython 2.2 anymore. Until http://bugs.jython.org/issue1563 is fixed, we still need to have some Jython specific code, but even then that code should use the current Python-only version with the UnicodeDecodeError recipe (see issue 471 for more details). That code doesn't work with Jython 2.2 at all (it simply doesn't have UnicodeDecodeError), and thus we decided not to use it with Jython at all in RF 2.1.3. In RF 2.1.3 we didn't add tests to the newly added UnicodeDecodeError recipe because it would only have worked on Python. We used the attached examples to verify the change, though, and in RF 2.5 they should be added to real acceptance tests. Attachments: bytelib.py 148 bytes bytetest.txt 80 bytes -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings
