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

Reply via email to