Return-Path: Delivered-To: apmail-httpd-bugs-archive@www.apache.org Received: (qmail 70710 invoked from network); 4 Nov 2003 14:20:19 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 4 Nov 2003 14:20:19 -0000 Received: (qmail 10722 invoked by uid 500); 4 Nov 2003 14:20:15 -0000 Delivered-To: apmail-httpd-bugs-archive@httpd.apache.org Received: (qmail 10592 invoked by uid 500); 4 Nov 2003 14:20:15 -0000 Mailing-List: contact bugs-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: "Apache HTTPD Bugs Notification List" Delivered-To: mailing list bugs@httpd.apache.org Received: (qmail 10577 invoked from network); 4 Nov 2003 14:20:15 -0000 Received: from unknown (HELO exchange.sun.com) (192.18.33.10) by daedalus.apache.org with SMTP; 4 Nov 2003 14:20:15 -0000 Received: (qmail 10848 invoked by uid 50); 4 Nov 2003 14:20:15 -0000 Date: 4 Nov 2003 14:20:15 -0000 Message-ID: <20031104142015.10847.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: bugs@httpd.apache.org Cc: Subject: DO NOT REPLY [Bug 24387] New: - convert_from_ucs() X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24387 convert_from_ucs() Summary: convert_from_ucs() Product: APR Version: 0.9.4 Platform: All OS/Version: All Status: NEW Severity: Normal Priority: Other Component: APR-util AssignedTo: bugs@httpd.apache.org ReportedBy: emild@cs.technion.ac.il There is a problem in the current implementation of apr_iconv() when converting from ucs-2. The problem is located in the convert_from_ucs function from the apr-iconv-0.9.4/ces/iso-10646-ucs-2.c file. The problem is that this function will prepend the 0xFE,0xFF prefix to the output buffer if the current state is not zero, while the intent was exactly the opposite. This causes the output to be garbled. I will attach a patch which fixes the problem. --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org For additional commands, e-mail: bugs-help@httpd.apache.org