Comment #5 on issue 1654 by pekka.klarck: It shows wrong Character for
non-ascii characters when running.
http://code.google.com/p/robotframework/issues/detail?id=1654
The result of chcp shows that your active code page is cp936. Results of
test_encoding.py show that Robot detects that correctly (windows output
encoding is cp936) but it nevertheless doesn't take it into use (output
encoding is cp437 i.e. the hard-coded default value).
The reason Robot doesn't take the encoding to use is that it tests can it
actually use it to decode something by running code
`'test'.encode(encoding)` internally. It seems that this fails and thus the
only option is the default value. You can test is my guess correct by
running this command:
java -cp robotframework-2.8.4.jar org.python.util.jython
-c "print 'test'.encode('cp936')"
My guess is that the above command fails for LookupError. If that happens,
it means that Jython simply doesn't support cp936. In that case there isn't
much we can do to this.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
---
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 robotframework-commit+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.