Merge lp:~javier.collado/utah/bug1071385 into lp:utah
Proposed by
Javier Collado
Status: | Merged |
---|---|
Approved by: | Javier Collado |
Approved revision: | 768 |
Merged at revision: | 767 |
Proposed branch: | lp:~javier.collado/utah/bug1071385 |
Merge into: | lp:utah |
Diff against target: |
80 lines (+29/-6) 2 files modified
utah/client/common.py (+19/-0) utah/client/result.py (+10/-6) |
To merge this branch: | bzr merge lp:~javier.collado/utah/bug1071385 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Joe Talbott (community) | Approve | ||
Review via email: mp+137573@code.launchpad.net |
Description of the change
This change makes sure that unicode is used for the output from shell commands
when it contains a non-ascii character.
Also, it takes care of representing long unicode strings as literal blocks (the
current behaviour for byte strings).
Using the same example as in the bug, I get the following the expected output
for different locales:
- German
stderr: |-
fail:
- Spanish:
stderr: |-
fail:
- Chinese
stderr: |-
fail:
- English:
stderr: |-
fail:
To post a comment you must log in.
Looks good, thanks.