Comment #3 on issue 1328 by pekka.klarck: Telnet library: Encoding errors should be ignored by default and error handler should be configurable
http://code.google.com/p/robotframework/issues/detail?id=1328

This issue was updated by revision 7268b4048d93.

After we had started to use UTF-8 and ignore as the default encoding parameters, this Python bug hit us:
http://bugs.python.org/issue8271

In short that bug meant that decoding '\xf21234' resulted with '4' by default when you would expect '1234'. This caused problems when Read Until was comparing that the expected value had actually was found from the returned output.

Luckily avoiding this bug is pretty simple as we only need to verify that output contains the extected string before decoding it. As an added bonus, the code also got more clean.

--

--- You received this message because you are subscribed to the Google Groups "robotframework-commit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to