Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 328827 - sys-apps/coreutils-8.5: no i18n patch
Summary: sys-apps/coreutils-8.5: no i18n patch
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: 2010-07-18 16:25 UTC by Arago
Modified: 2010-07-19 20:45 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 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