Web lists-archives.com

Re: segfault with iconv




On 8/5/2018 11:55 PM, Steven Penny wrote:
> On Sun, 5 Aug 2018 23:04:54, cyg Simple wrote:
>> I'm getting a segfault with iconv with the attached script.  Do others
>> have this problem?  TIA for the information.
> 
> Not sure what is breaking for you - but works fine here:
> 
>    $ echo böse bübchen > infile.txt
> 
>    $ LC_ALL=C iconv --byte-subst '<%X>' -f ASCII -t ASCII infile.txt
>    b<C3><B6>se b<C3><BC>bchen
> 
>    $ LC_ALL=en_US.UTF-8 iconv --byte-subst '<%X>' -f ASCII -t ASCII
> infile.txt
>    b<C3><B6>se b<C3><BC>bchen
> 

Thanks for checking.  My problem has been resolved with a reinstall.

-- 
cyg Simple

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