Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 266866 - sys-apps/coreutils-7.1: no support for unicode
Summary: sys-apps/coreutils-7.1: no support for unicode
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-20 16:38 UTC by Glenn Sommer
Modified: 2010-01-05 05:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Glenn Sommer 2009-04-20 16:38:41 UTC
Currently expr provided by coreutils is unable to handle special chars (like å for example).

Reproducible: Always

Steps to Reproduce:
Some examples:

expr substr "abcde" 5 1: Returns e (as expected)
expr substr "abcåe" 5 1: Returns � (expected was e)




locales:
LANG=en_US.UTF-8
LC_CTYPE=da_DK.UTF-8
shell=bash
coreutils-7.1
Comment 1 SpanKY gentoo-dev 2009-04-24 23:23:36 UTC
coreutils-7.1 doesnt have any unicode/etc... patches, so it's expected to not work currently.  dont try and use unicode and such and it'll work fine.
Comment 2 SpanKY gentoo-dev 2010-01-05 05:00:13 UTC
ive added the patch from fedora behind USE=unicode

http://sources.gentoo.org/gentoo/src/patchsets/coreutils/8.2/000_all_coreutils-i18n.patch?rev=1.1