bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fold and multibyte characters


From: Eric Blake
Subject: Re: fold and multibyte characters
Date: Fri, 05 May 2006 01:27:35 +0000

 -------------- Original message ----------------------
From: Egmont Koblinger <address@hidden>
> Hi,
> 
> It seems to me that fold (5.94) doesn't support multibyte locales. I have
> LANG=hu_HU.UTF-8, no other LC_ variables set, fully UTF-8 environment. When
> I launch "fold -s" to format a UTF-8 encoded text file, it produces lines
> much shorter than 80 characters for those lines that have plenty of accented
> letters. If I omit the "-s" it even easily breaks a character, places a
> newline between its two bytes, which leads to invalid UTF-8 output.
> 
> Oh, and by the way it would be cool if fold could automatically find out the
> terminal's width if stdout is a terminal.
> 
> 
> Thanks,
> 
> Egmont
> 
> 
> _______________________________________________
> Bug-coreutils mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/bug-coreutils






reply via email to

[Prev in Thread] Current Thread [Next in Thread]