------- Comment #1 from serg at vostok dot net 2007-05-15 18:05 ------- This bug is relevant only for iconv that have the "UCS-2" encoding with byte order different from native byte order of the platform, e.g. GNU libiconv on i386.
There are actually two subjects here. 1. Fix source code to use an appropriate for the platform UCS-2* encoding with native byte order, e.g. UCS-2-INTERNAL for GNU libiconv on i386. 2. Find the bug that may leave command line arguments in wrong byte order and fix it. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31939