Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 328827

Summary: sys-apps/coreutils-8.5: no i18n patch
Product: Gentoo Linux Reporter: Arago <Arago>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Arago 2010-07-18 16:25:08 UTC
If I call fold and input long line ffffff... - fold breaks it for 80 columns.
If I input long line ыыыыы... - fold breaks it for 40 columns.
If I input long line ы ы ы ... - fold breaks it for 53 columns.

If I call enconv -x cp1251 | fold |enconv and input all these samples again - all will breaked for 80 lines, as expected.

Reproducible: Always

Steps to Reproduce:
1. Run fold
2. Input long line with non-english characters in UTF8 encoding


Actual Results:  
Line will be breaked for wrong line lenght (1...2 times shorter than maximum line length specified in -w parameter (80 characters by default))

Expected Results:  
Line should be breaked for the maximum line length specified in -w parameter (80 characters by default)

Bug appears on x86 and amd64 architectures on sys-apps/coreutils-8.5 (sys-apps/coreutils-8.4 don't have this bug and works right).
Comment 1 SpanKY gentoo-dev 2010-07-19 18:57:44 UTC
this is currently expected behavior
Comment 2 SpanKY gentoo-dev 2010-07-19 20:45:12 UTC
added the i18n patch from Fedora to 8.5-r1