bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: Unicode bug in my gawk for Windows 3.1.3


From: Eli Zaretskii
Subject: Re: Unicode bug in my gawk for Windows 3.1.3
Date: Thu, 05 Apr 2007 06:12:24 +0300

> Date: Wed, 4 Apr 2007 11:56:29 -0400
> From: "Brian Williams" <address@hidden>
> Cc: 
> 
> However, I run gawk -f < unicodefile.txt > unicodefile2.txt --
>  
>  -- this generates unicodefile2.txt as a Unicode file (which you'd
> expect)
>  -- the line endings are messed up -- it looks like the print statements
> replace every '\n' single byte with '\r\n' as 2 bytes, which in Unicode
> on Windows is incorrect.

Try playing with BINMODE.




reply via email to

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