From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 113039 invoked by alias); 18 Mar 2016 13:05:09 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 113011 invoked by uid 89); 18 Mar 2016 13:05:09 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: plane.gmane.org To: libc-alpha@sourceware.org From: Stefan Liebler Subject: Re: [PATCH 14/14] Fix UTF-16 surrogate handling. Date: Fri, 18 Mar 2016 13:05:00 -0000 Message-ID: <56EBFCED.3070003@linux.vnet.ibm.com> References: <1456219278-5258-1-git-send-email-stli@linux.vnet.ibm.com> <1456219278-5258-15-git-send-email-stli@linux.vnet.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: "Joseph S. Myers" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 In-Reply-To: X-SW-Source: 2016-03/txt/msg00477.txt.bz2 On 02/25/2016 09:58 AM, Stefan Liebler wrote: > On 02/23/2016 06:42 PM, Joseph Myers wrote: >> If this is user-visible in a release, there should be a bug filed in >> Bugzilla (if there isn't one already open), and a testcase added to the >> testsuite. >> > okay. > > I've filed the bug > "Bug 19727 - Converting from/to UTF-xx with iconv() does not always > report errors on UTF-16 surrogates values." > (https://sourceware.org/bugzilla/show_bug.cgi?id=19727) > > This patch also adds a new testcase, which checks UTF conversions with > input values in range of UTF16 surrogates. The test converts from > UTF-xx to INTERNAL, INTERNAL to UTF-xx and directly between > UTF-xx to UTF-yy. The latter conversion is needed because s390 has > iconv-modules, which converts from/to UTF in one step. > The new testcase was tested on a s390, power and intel machine. Is the previously attached test-case okay?