From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2155) id CBDB43858C41; Sat, 29 Jul 2023 09:23:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CBDB43858C41 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1690622634; bh=rxwX+QAwPkW+qAjjrLKNO/vPQ/NLH5ZD6UPM9pFFjd0=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=tg+LdFV9rEyug04a+0/2NlrwDmGABEKJcGEvdjscfaPnUCQVLsG8sLc/oBucM/tQB kUeFTl2azPOmoYh4oBAwUQ6uz3Hw9iFiHR7M8MV33mEmx4c8PegRrY3HWanu1q21O9 Lwc0Ii4pchQX3byQCnJc0nz+zGeuWdoHKSQn0gFQ= Received: by calimero.vinschen.de (Postfix, from userid 500) id D3917A80A39; Sat, 29 Jul 2023 11:23:52 +0200 (CEST) Date: Sat, 29 Jul 2023 11:23:52 +0200 From: Corinna Vinschen To: Bruno Haible Cc: cygwin@cygwin.com Subject: Re: GB18030 locale Message-ID: Reply-To: cygwin@cygwin.com Mail-Followup-To: Bruno Haible , cygwin@cygwin.com References: <3884636.3uDm00564X@nimes> <24556977.snJFCo28Jb@nimes> <4641755.FJ9Bj1ZfmD@nimes> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <4641755.FJ9Bj1ZfmD@nimes> List-Id: On Jul 28 21:54, Bruno Haible via Cygwin wrote: > Corinna Vinschen wrote: > > test-fnmatch-5.sh is SKIPped because we don't support zh_CN.GB18030. > > Hmm? When I read winsup/cygwin/release/3.5.0 and the commit > 5da71b6059956a8f20a6be02e82867aa28aa3880, it seems the zh_CN.GB18030 > locale (which on native Windows is called "Chinese_China.54936") > should be supported. You're right, I always had the idea to add GB18030 support and forgot that I supposedly did that in 5da71b605995 ("Cygwin: add support for GB18030 codeset"), sorry. 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. Corinna