www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mészáros Gyula <...@borland.hu>
Subject Re: general/10125: <Directory> declarations do not accept accented characters. It works in 1.3.23.
Date Tue, 12 Mar 2002 07:00:00 GMT
The following reply was made to PR general/10125; it has been noted by GNATS.

From: =?ISO-8859-1?Q?M=E9sz=E1ros?= Gyula <mgy@borland.hu>
To: "William A. Rowe, Jr." <wrowe@rowe-clan.net>
Cc: apbugs@Apache.Org
Subject: Re: general/10125: <Directory> declarations do not accept    accented characters.
It works in 1.3.23.
Date: Tue, 12 Mar 2002 07:50:14 +0100

 Hi Bill,
 
 I made some tests and really, if I save httpd.conf from Notepad in UTF-8 
 format and then delete the first 3 bytes (the UTF-8 header) with another 
 editor, then Apache service starts and uses the directories containing 
 accented characters normally. So I can live with it for now and wait for 
 the next version.
 
 Thanks a lot for your efforts!
 
 Best regards:
 Gyula Mszros
 Borland Hungary
 
 
 William A. Rowe, Jr. wrote:
 
 > Then Apache has a bug [well, sort of] because Microsoft likes to add the 
 > FEFF signature,
 > utf-8 encoded, as the first three bytes.
 > 
 > I will look at accepting utf-8 files with those three leading 
 > characters, possibly look
 > at utf-8 decoding a real Unicode file, and possibly at decoding 'local 
 > code pages'.
 > But for the most part, Apache 2.0 was redesigned [on Windows] to deal 
 > with all
 > files, commands, etc by using utf-8, which is a text format [e.g. isn't 
 > wide chars],
 > that allows us to access any file on a FAT-32 or NTFS volume.
 > 
 > Look for at least that first feature to be fixed by 2.0.34.  Would .conf 
 > files in
 > utf-8 solve your entire problem?
 > 
 > Yours,
 > 
 > Bill
 > 
 > At 08:14 AM 3/11/2002, you wrote:
 > 
 >> Sorry (sometimes I tend to think I understand something about 
 >> computers, but then there are moments...).
 >>
 >> The result: if I save the httpd.conf in UTF-8 from Notepad of Windows 
 >> 2000 then Apache service does not start even if there is no accented 
 >> character in the .conf file at all. (The one saved in ANSI format 
 >> still lets Apache start if the accented character appears only in the 
 >> ScriptAlias line.)
 >>
 >> Gyula
 >>
 >>
 >> William A. Rowe, Jr. wrote:
 >>
 >>> Gyula,
 >>>   I didn't ask you to send the file, I asked if you would open it in 
 >>> notepad,
 >>> and choose File - Save As - Encoding: UTF-8.
 >>>   Apache doesn't understand 'character sets' or 'code pages', but the 
 >>> APR
 >>> library now handles -every- filename as UTF-8.  That means requests to
 >>> every possible filename work, and you should be able to use any text as
 >>> a directory name, or log file name, and so on.
 >>>   Save the conf file as UTF-8 and let me know if that solves your 
 >>> problem.
 >>> Bill
 >>
 >>
 >>
 > 
 > 
 
 

Mime
View raw message