Received: (qmail 28100 invoked by uid 2012); 26 May 1998 09:53:20 -0000 Message-Id: <19980526095320.28099.qmail@hyperreal.org> Date: 26 May 1998 09:53:20 -0000 From: Zvi Har'El Reply-To: rl@math.technion.ac.il To: apbugs@hyperreal.org Subject: ISO-8859-1 characters with code>=243 disappear in AddDescription X-Send-Pr-Version: 3.2 >Number: 2282 >Category: mod_autoindex >Synopsis: ISO-8859-1 characters with code>=243 disappear in AddDescription >Confidential: no >Severity: serious >Priority: medium >Responsible: apache >State: closed >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Tue May 26 04:10:00 PDT 1998 >Last-Modified: Mon Jul 20 20:39:15 PDT 1998 >Originator: rl@math.technion.ac.il >Organization: >Release: 1.3b6 >Environment: SunOS leeor.math.technion.ac.il 5.6 Generic sun4m sparc gcc version 2.7.2.3.f.1 >Description: If you use ISO-8859-1 Characters in the description field of a AddDescription command, and I mean use the 8-bit, one byte, characters themselves rather than using entities names, eithet numeric or symbolic, then certain characters are transmitted as spaces for charaters with decimal code starting at 243 (small o, acute accent), namely, 243, 244, 245, 246, 250 and 253. Characters with code 242 and below, and HTML entities, are treated correctly. The problem doesnot arise for the code entered via the HEADER file. >How-To-Repeat: Try http://www.math.technion.ac.il/~rl/JulesVerne/margot/test/ .htaccess and HEADER are copies (links) of the file TEXT so you can view them. Note that the descriptions of the files x243x,x244x,x245x,x246x,x250x,x253x have a space for the last character intead of the correct 8-bit character. >Fix: I haven't check the sources to find what is the origin of this strange behaviour >Audit-Trail: State-Changed-From-To: open-analyzed State-Changed-By: dgaudet State-Changed-When: Mon Jul 6 21:22:06 PDT 1998 State-Changed-Why: This doesn't happen on redhat 5.1... which leads me to think it's a solaris library error. Dean Comment-Added-By: dgaudet Comment-Added-When: Mon Jul 6 21:49:20 PDT 1998 Comment-Added: Add "EXTRA_CFLAGS=-funsigned-char" to your Configuration and reconfigure/rebuild. Apache doesn't use isascii() to protect the isspace()/etc. macros. Dean From: "Zvi Har'El" To: dgaudet@apache.org Cc: apbugs@apache.org, apache-bugdb@apache.org Subject: Re: mod_autoindex/2282: ISO-8859-1 characters with code>=243 disappear in AddDescription Date: Tue, 7 Jul 1998 09:52:07 +0300 (IDT) On 7 Jul 1998 dgaudet@apache.org wrote: > > Synopsis: ISO-8859-1 characters with code>=243 disappear in AddDescription > > Comment-Added: > Add "EXTRA_CFLAGS=-funsigned-char" to your Configuration and > reconfigure/rebuild. YES! It worked. Thanks, Zvi. -- Dr. Zvi Har'El mailto:rl@math.technion.ac.il Department of Mathematics +972-4-8294094(Phone) Technion - Israel Institute of Technology +972-4-8324654(FAX) http://www.math.technion.ac.il/~rl/ Haifa 32000, ISRAEL ``If you can't say somethin' nice, don't say nothin' at all.''--Thumper (1942) State-Changed-From-To: analyzed-closed State-Changed-By: dgaudet State-Changed-When: Mon Jul 20 20:39:15 PDT 1998 State-Changed-Why: fixed in 1.3.1 >Unformatted: [In order for any reply to be added to the PR database, ] [you need to include in the Cc line ] [and leave the subject line UNCHANGED. This is not done] [automatically because of the potential for mail loops. ]