Actions
Bug #11636
openpkg: UnicodeEncodeError: 'ascii' codec can't encode character '\u0151' in position 68: ordinal not in range(128)
Start date:
Due date:
% Done:
0%
Estimated time:
Difficulty:
Medium
Tags:
Description
pkg
fails with UnicodeEncodeError: 'ascii' codec can't encode character '\u0151' in position 68: ordinal not in range(128)
if installed file name is non-ASCII.
It seems we force C
locale to get rid of other problems, with an UTF-8
locale this problem is not present.
Related issues
Updated by Michal Nowak over 4 years ago
- Copied from Bug #11625: zoneadm install fails: UnicodeEncodeError: 'ascii' codec can't encode character '\u0151' in position 68: ordinal not in range(128) added
Updated by Michal Nowak over 4 years ago
This command show that we don't have any other non-ASCII file names in the distribution:
pkg search -o path,pkg.name '*' | ggrep --color='auto' -P -n "[\x80-\xFF]"
Actions