Message6813
Closing this bug: jython's handling of this invalid input is correct. I.e. The exception
UnicodeDecodeError: 'unicodeescape' codec can't decode bytes in position 2-8: illegal Unicode character
Is entirely accurate: the input is invalid and cannot be decoded.
As discussed, this is because java (and thus jython) uses UTF-16 as an internal representation.
Cpython, on the other hand, uses UCS-2, so this is a valid test for cpython. |
|
Date |
User |
Action |
Args |
2012-03-17 22:50:58 | amak | set | messageid: <1332024658.04.0.866276834475.issue1707@psf.upfronthosting.co.za> |
2012-03-17 22:50:58 | amak | set | recipients:
+ amak, yyamano |
2012-03-17 22:50:58 | amak | link | issue1707 messages |
2012-03-17 22:50:57 | amak | create | |
|