X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B0F7D385AFBF DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1690624405; bh=+jwFTWRhf7sIXvBPEPvHUOHg5eBECGaIVBFUNi27LfY=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=ROU6XKi+fteAYrpuAOQ8VX7IaOJb/3788jU5moPX2uPhWOL2gQr525mGBbpIuOfXK YPnnsnyud8h61fPaPN7VHL2HpGdi04zZgcGEO24zmFykVuagZTgJOlOvii9rWFHOiU 3fVDmBMRD97V6r6cULf7Rx7lCgdT2o6Q/dIhFcQs= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org EB11C3858C41 ARC-Seal: i=1; a=rsa-sha256; t=1690624388; cv=none; d=strato.com; s=strato-dkim-0002; b=Zp/NXsj3HIj+CYUJesS3M5oo8ROrDbB/j6hTQIcfef+X6+6eO0QX+N20NYI020Sbml DFEW4S65ULNuXwZ1k3e7ats7wopuv6dawHroZEAJKmIvKBBIf1c2hhCmb2WauF2iT9x1 /+hDmLqBtG4HntSvK3zGyKlZ+S0ElwfNJLfG+ba7BnMmANyf22WEZl31xwlPT9ZRLci5 Zk++4iCp0XgPBap/cAwyWqmrnYSCo/6n25nidr0Ik7tR5+CShzcwBAUYbDsTcxgVxQXw IVfxEx1Z6yPWz4Hn8s9atbbAgQ35f/nwzDg9V7sUQ3N1RT6DQz3lNFAc7RKwAdjVmpml zG5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1690624388; s=strato-dkim-0002; d=strato.com; h=References:In-Reply-To:Message-ID:Date:Subject:To:From:Cc:Date:From: Subject:Sender; bh=1doicdDasBaxyiMhhodnKvEOiHUhkBWFgIg2jxW6Dqk=; b=qN8656gxEAziTVb4NMwR67cqw68etLKMXdVnlnMVr1UAAgzjgXUnw7rqT960xx5ROk fLpVmAyK9A0Rfq4e2Rd2KfBzqOdn+Iu9qboA1oDKFXHMQ9LKpG/JXCn13bsUndqwQEHD cDviQ4E3GiL2+fsLeNb6/M1y4slSwLLMG0E3yuVFpFRTi5HL4x1SIfui1vqniYKXpu99 Cp/iP1yjt0Q4y+6YpdpD1F0pU179xC5qRvgiYVlvaJ6dT3OXxHTNpr5evzIm4HEryrx1 fpnHg4eMVxOkcwzkKTPIL4HPAjNWCtvBLpDnKNi7BYOnXQUv/+bwMCCWDfafI3Ag2tVL ldKQ== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none X-RZG-CLASS-ID: mo00 X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH0WWb0LN8XZoH94zq68+3cfpOejqDT5hkc3jRBcKRzWK25Sd4wWA==" To: cygwin AT cygwin DOT com Subject: Re: GB18030 locale Date: Sat, 29 Jul 2023 11:53:08 +0200 Message-ID: <5536760.9AX2XiyloC@nimes> In-Reply-To: References: <3884636 DOT 3uDm00564X AT nimes> <4641755 DOT FJ9Bj1ZfmD AT nimes> MIME-Version: 1.0 X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H5, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Bruno Haible via Cygwin Reply-To: Bruno Haible Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Corinna Vinschen wrote: > However, on debugging this, I see it's totally broken. Trying to fix > this in the existing functions is futile. We need dedicated > support functions for GB18030, kind of like the FreeBSD functions, > just with extra support for surrogate pairs, as with our UTF8 stuff. In case it helps: Find here a test suite for the various multibyte functions with GB18030 specific test cases. (Extracted from gnulib.) https://haible.de/bruno/gnu/testdir-gb18030.tar.gz Bruno -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple