Project

General

Profile

Actions

Bug #11636

open

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

Added by Michal Nowak over 4 years ago. Updated over 4 years 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)ClosedOI PKG

Actions
Actions #1

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
Actions #2

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

Also available in: Atom PDF