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

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

Re: Bug in awk 3.1.6?


From: Hermann Peifer
Subject: Re: Bug in awk 3.1.6?
Date: Sat, 30 Oct 2010 17:26:05 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6

On 29/10/2010 19:44, Alan Robinson wrote:

Hi

If a string contains a pound sign - \243 - in 3.1.6 the length function only 
returns the value up to the pound character, not the whole string. This works 
fine in 3.1.4. This is a standard suse linux 11.1 distribution.


Is there a mismatch between your locale and the encoding of the data file? Some time ago, I had a similar experience and Arnold wrote:

> The problem stems essentially from the fact that you
> have ISO-8859 data in a UTF-8 locale.  (...)
> If you can move to an ISO locale, things would likely work correctly.

Hermann



reply via email to

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