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

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

Re: multibyte awareness patch for gawk 3.1.4


From: Zhang Weiwu
Subject: Re: multibyte awareness patch for gawk 3.1.4
Date: Thu, 13 Jan 2005 22:14:53 +0800
User-agent: Mozilla/5.0 (X11; U; Linux sparc64; en-US; rv:1.7.5) Gecko/20041231

Aharon Robbins wrote:

        awk 'BEGIN { print "Hello, world!\n" }'
                -- Aho, Kernighan, and Weinberger
                   (Members of the all-star band, The Dudes from Bell Labs)

Greetings all.  Below is the first public release of the multibyte awareness
patch for gawk.  With this patch, index(), length(), substr() and match()
all work in terms of "characters" instead of "bytes".
Preliminary testing by a few intrepid explorers seems to indicate that things
work as they're supposed to.  This patch passes `make test' in the en_US.utf8
locale, with the expected failure of the gsubtst5 test.

Please try this out, particularly in multibyte locales.

As noted in the version string, this is an UNOFFICIAL patch; you should not
drop it into a production version without testing.  Please send me any problem
reports.  I will also be more than happy to get success reports in different
locales.
Congratulations! Thank you (and mostly Asian people will thank you for that):)




reply via email to

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