Project

General

Profile

Bug #11636

pkg: UnicodeEncodeError: 'ascii' codec can't encode character '\u0151' in position 68: ordinal not in range(128)

Added by Michal Nowak 3 months ago. Updated 3 months ago.

Status:
New
Priority:
Normal
Assignee:
Category:
PKG (Image Packaging System)
Target version:
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

Copied from OpenIndiana Distribution - Bug #11625: zoneadm install fails: UnicodeEncodeError: 'ascii' codec can't encode character '\u0151' in position 68: ordinal not in range(128)Closed

Actions

History

#1

Updated by Michal Nowak 3 months 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
#2

Updated by Michal Nowak 3 months 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]" 

Also available in: Atom PDF