unicode characters break help output
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Released
|
Medium
|
Scott Sweeny |
Bug Description
It seems some of the help text for snapcraft includes unicode quotation marks which breaks the output of 'snapcraft help'
root@snappy-
'ascii' codec can't encode character '\u2019' in position 3253:
ordinal not in range(128)
as well as --help
root@snappy-
Traceback (most recent call last):
File "/usr/bin/
snapcraft.
File "/usr/lib/
args = docopt(__doc__, version=
File "/usr/lib/
extras(help, version, argv, doc)
File "/usr/lib/
print(
UnicodeEncodeError: 'ascii' codec can't encode character '\u201c' in position 676: ordinal not in range(128)
Changed in snapcraft: | |
status: | Fix Committed → Fix Released |
https:/ /github. com/ubuntu- core/snapcraft/ pull/373