X-Recipient: archive-cygwin@delorie.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@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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@cygwin.com
References: <E1aeozf-0006XS-0S@rmm6prod02.runbox.com>
From: Yaakov Selkowitz <yselkowitz@cygwin.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>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

On 2016-03-12 13:14, sdbenique@runbox.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

