Updates:
        Labels: Target-2.5.1

Comment #1 on issue 594 by pekka.klarck: RobotFramework 2.5 does not support encoding "c", which is default for some platforms
http://code.google.com/p/robotframework/issues/detail?id=594

I cannot reproduce this on my Ubuntu machine. When I set LANG=C, the effective encoding Python and Jython will use is ANSI_X3.4-1968 and everything works fine. Jussi, could you test can you reproduce this on your OSX?

I can see that the code that tries to find encoding from the environment can return invalid value if language related environment variables are not set correctly. I tried to fix that with the attached patch which tests can the found value be used for encoding. Could you buggood (or Jussi) test does the patch fix the problem on your environment?

If the patch fixes the problem, it ought to be safe to be included to RF 2.5.1. If it doesn't, please report what you get when you run the command below:

    LANG=C python -c 'import sys; print sys.stdout.encoding'



Attachments:
        encoding_patch.txt  947 bytes

Reply via email to