Comment #12 on issue 471 by pekka.klarck: Replace all occurrences of
`str()` with `unicode()` or `utils.unic()`
http://code.google.com/p/robotframework/issues/detail?id=471
Andreas, the recipe was taken into use:
http://code.google.com/p/robotframework/source/browse/trunk/src/robot/utils/unic.py
It's currently only used with Python because Jython 2.2 doesn't have
UnicodeDecodeError. We also have issue 474 to cleanup utils.unic further in
RF 2.5.
As Janne wrote, str() isn't always unsafe. For example, if you have some
integers you
want to turn in to strings, there's no risk of getting Unicode errors.
--
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