segfault with iconv

Steven Penny svnpenn@gmail.com
Mon Aug 6 03:55:00 GMT 2018


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


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



More information about the Cygwin mailing list