Status: Accepted
Owner: ----
Labels: Type-Defect Priority-Low Target-2.5

New issue 522 by pekka.klarck: Errors when data paths contain non-ASCII characters are corrupted
http://code.google.com/p/robotframework/issues/detail?id=522

Example:
c:\>pybot ä
[ ERROR ] Data source \'c:\\\xe4\' does not exist.

Expected:
c:\>pybot ä
[ ERROR ] Data source 'c:\ä' does not exist.

Above isn't that severe, but if parsing a data file fails, creating the
error message fails for UnicodeDecodeError like below giving no useful
information:

[ ERROR ] Unexpected error: UnicodeDecodeError: 'ascii' codec can't decode
byte 0xe4 in position 59: ordinal not in range(128)


The root cause for this problem is that command line arguments are not
converted to Unicode. Issue 454 addressed this already, but its solution
doesn't fix all places where the arguements are used. It's better to
convert the arguments already when they are processed otherwise.

--
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


--
To unsubscribe, reply using "remove me" as the subject.

Reply via email to