www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/04/04/11:13:41

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Sat, 4 Apr 2009 18:13:12 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: [1.7] Support for CJK Character Sets
Message-ID: <20090404161312.GJ852@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20090403173212 DOT 51916 DOT qmail AT web4102 DOT mail DOT ogk DOT yahoo DOT co DOT jp> <20090403192048 DOT GC852 AT calimero DOT vinschen DOT de> <20090404100909 DOT GF852 AT calimero DOT vinschen DOT de> <u3acottq8 DOT fsf AT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <u3acottq8.fsf@gmail.com>
User-Agent: Mutt/1.5.19 (2009-02-20)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Apr  4 14:48, Andy Moreton wrote:
> On Sat 04 Apr 2009, Corinna Vinschen wrote:
> > On Apr  3 21:20, Corinna Vinschen wrote:
> >> On Apr  4 02:32, neomjp wrote:
> >> > [...]
> >> > But it failed for JIS/ISO-2022-JP and eucJP. (It was represented as
> >> > ASCII SO(0x0e)/UTF-8 sequence).
> >> > 
> >> > What is going wrong here? What makes the file name conversion from
> >> > UTF-16 to these character sets to fail? Or, what am I doing wrong?
> >> > [...]
> >> > LANG=en_US.ISO-2022-JP
> >
> > Oh, btw., this is wrong.  The string "ISO-2022-JP" isn't supported,
> > just "JIS" is.  But it won't work, even with "JIS", afaics.
> 
> As an aside, the man page for wcstomb(3) seems to have an incorrect
> prototype:
> 
>      int wcstombs(const char *S, wchar_t *PWC, size_t N);
> 
> should be:
> 
>      int wcstombs(char *S, const wchar_t *PWC, size_t N);

Thanks for the hint.  I applied a patch.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019