Return-Path: Delivered-To: apmail-apache-bugdb-archive@apache.org Received: (qmail 64900 invoked by uid 500); 8 Feb 2002 09:30:01 -0000 Mailing-List: contact apache-bugdb-help@apache.org; run by ezmlm Precedence: bulk Reply-To: apache-bugdb@apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list apache-bugdb@apache.org Received: (qmail 64875 invoked by uid 501); 8 Feb 2002 09:30:01 -0000 Resent-Date: 8 Feb 2002 09:30:01 -0000 Resent-Message-ID: <20020208093001.64874.qmail@apache.org> Resent-From: submit@bugz.apache.org (GNATS Filer) Resent-To: apache-bugdb@apache.org Resent-Cc: apache-bugdb@apache.org Resent-Reply-To: submit@bugz.apache.org, cn_liqy@21cn.com Received: (qmail 63414 invoked by uid 501); 8 Feb 2002 09:28:56 -0000 Message-Id: <20020208092856.63413.qmail@apache.org> Date: 8 Feb 2002 09:28:56 -0000 From: liqingyin Reply-To: cn_liqy@21cn.com To: submit@bugz.apache.org X-Send-Pr-Version: 3.110 Subject: general/9764: utf8_to_unicode_path not support chinese directory >Number: 9764 >Category: general >Synopsis: utf8_to_unicode_path not support chinese directory >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Fri Feb 08 01:30:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: cn_liqy@21cn.com >Release: apache 2.0.28 >Organization: apache >Environment: WINNT LIQINGYIN 5.0 2195 xx I386 (win2000) >Description: I set a chinese directory to the directive ServerRoot in the apache version 2.0.28, then the function utf8_to_unicode_path return failed status. >How-To-Repeat: >Fix: Apache regardes the all characters as utf-8 encoding. Apache should distinguish chinese character. For example: while (...) { /* ascii */ if (!(*ptr & 0x80)) { /* convert gb2312/gbk or Japanese to ucs2 */ c = conv_gbk_to_ucs2(p, &w, wptr, &wl); ... } else { /* convert ascii to ucs2 */ rc = conv_utf8_to_ucs2(p, &a, wptr, &wl); ... } } >Release-Note: >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, you need] [to include in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]