From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18088 invoked by alias); 15 May 2007 17:05:36 -0000 Received: (qmail 18068 invoked by uid 48); 15 May 2007 17:05:35 -0000 Date: Tue, 15 May 2007 17:05:00 -0000 Message-ID: <20070515170535.18067.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libgcj/31939] Command line arguments are byteswapped before being passed to the program runing in custom locale. In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: java-prs@gcc.gnu.org From: "serg at vostok dot net" Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org X-SW-Source: 2007-q2/txt/msg00092.txt.bz2 ------- 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