delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/03/13/01:53:30

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=qinwkNNwuYTv4Xd0
j7R0yS57hQ+h1m2VYh7oDvCWhiCnJHI19h9Xz3FB+1ZCWb9+KX2LgkuINraFWC+E
ih89ChNQyoDYSBNlsZgFevZntB4/6qY4pcX8P/+gT+8kPT1vLmyj5xpVzAgmGhBu
aRLrZ7MtO+CC+6UJ7GCOqdFkEYM=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=fYoJwYvukNP1DSxPFSI+L8
veHCM=; b=susIOcMhsc5whh1CsS6OYWakCTgT1FBMao9XLEwWSpKSpzTnRggWkE
0Sb6bbLG3RGHU/OG1CpNxAoqtr/Qmrb6JQ/ejitlKRxE7FTxb8IVmpLMoXleRcvQ
qdpngZTRJjrftO6RKYW16quTcM82omIIF7ry2BXT1uoK68/BuYxTY=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=3.8 required=5.0 tests=BAYES_50,KAM_LAZY_DOMAIN_SECURITY,LIKELY_SPAM_SUBJECT,SPF_HELO_PASS autolearn=no version=3.3.2 spammy=H*M:cygwin, Hx-languages-length:509, sdl, iconv_open
X-HELO: mx1.redhat.com
Subject: Re: [bug] mingw64-*-w64-win-iconv: Cannot open handle; convert to UTF-8
To: cygwin AT cygwin DOT com
References: <E1aeozf-0006XS-0S AT rmm6prod02 DOT runbox DOT com>
From: Yaakov Selkowitz <yselkowitz AT cygwin DOT com>
Message-ID: <56E50CBD.2080004@cygwin.com>
Date: Sun, 13 Mar 2016 00:46:21 -0600
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
MIME-Version: 1.0
In-Reply-To: <E1aeozf-0006XS-0S@rmm6prod02.runbox.com>
X-IsSubscribed: yes

On 2016-03-12 13:14, sdbenique AT runbox DOT com wrote:
> At first I thought it could be a bug with SDL, but to make sure, I created a very simple reproduction
> of the issue using only the iconv libraray, and a simple main() function. This "test" fails
> on every machine on which I have ran it, in both 32-bit and 64-bit builds.
[snip]
>      iconv_t handle = iconv_open("C", "UTF-8");

Invalid code.  "C" is a locale, not an encoding.

-- 
Yaakov

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

- Raw text -


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