This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgcj/31939] Command line arguments are byteswapped before being passed to the program runing in custom locale.
- From: "serg at vostok dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 May 2007 17:05:33 -0000
- Subject: [Bug libgcj/31939] Command line arguments are byteswapped before being passed to the program runing in custom locale.
- References: <bug-31939-14546@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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