delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/10/05/18:42:51

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_YG
X-Spam-Check-By: sourceware.org
Message-ID: <4E8CDD42.109@gmail.com>
Date: Wed, 05 Oct 2011 15:42:10 -0700
From: Walter Barnes <walter DOT barnes05 AT gmail DOT com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1
MIME-Version: 1.0
To: Eric Blake <eblake AT redhat DOT com>, cygwin AT cygwin DOT com
Subject: Re: Alternative to iconv
References: <4E8CD47F DOT 9050805 AT gmail DOT com> <4E8CD688 DOT 2080406 AT redhat DOT com>
In-Reply-To: <4E8CD688.2080406@redhat.com>
X-IsSubscribed: yes
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

Thanks Eric, I had previously ran the setup utility and searched for 
iconv and found only the libraries (libiconv and libiconv2). Also, 
libiconv2 was pre-installed but I was still getting "command not found" 
when I attempted to run iconv. I went ahead and installed the libiconv 
package in addition to libiconv2 and it works now... maybe a note in the 
package description that libiconv2 does not include the executable?

Thanks again,
Walter

On 10/5/2011 3:13 PM, Eric Blake wrote:
> On 10/05/2011 04:04 PM, Walter Barnes wrote:
>> Hi all,
>>
>> I have a large csv file (1.5GB) that I need to convert from UTF-16 to
>> UTF-8 however it appears iconv is not currently included in cygwin.
>
> Huh?  iconv is too part of cygwin:
>
> $ cygcheck -p iconv\\.exe
> Found 3 matches for iconv\.exe
> libiconv/libiconv-1.13.1-1    GNU character set conversion library and 
> utilities
> libiconv/libiconv-1.13.1-2    GNU character set conversion library and 
> utilities
> libiconv/libiconv-1.14-1    GNU character set conversion library and 
> utilities
>
> Maybe you just need to rerun setup.exe and install the libiconv 
> package, if you don't already have it present on your machine.
>

--
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