This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: segfault with iconv


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]