bug-gawk
[Top][All Lists]
Advanced

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

Re: [bug-gawk] Problem with substr() after match() with non-ASCII charac


From: Hermann Peifer
Subject: Re: [bug-gawk] Problem with substr() after match() with non-ASCII characters
Date: Wed, 16 Sep 2015 18:13:03 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.2.0

On 2015-09-16 13:40, Janis Papanagnou wrote:

No. All I was asking for was to remove an inconsistency (or let gawk give
some hint that it has problems operating on the data).


Both has been done on 25 August, as far as I can see. Hermann

+2015-08-25         Arnold D. Robbins     <address@hidden>
+
+       * node.c (str2wstr): Upon finding an invalid character, if
+       using UTF-8, use the replacement character instead of skipping
+       it. Helps match() and other functions work better in the face
+       of unexpected data.  Make the lint warning an unconditional
+       warning.

http://git.savannah.gnu.org/cgit/gawk.git/commit/?id=278fe876bb18938803ac1c36b028adb8cef6fe84





reply via email to

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