You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2003/02/03 04:05:30 UTC

DO NOT REPLY [Bug 16687] New: - Apache should recognize UTF byte order mark (BOM) in cgi scripts

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16687>.
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=16687

Apache should recognize UTF byte order mark (BOM) in cgi scripts

           Summary: Apache should recognize UTF byte order mark (BOM) in cgi
                    scripts
           Product: Apache httpd-2.0
           Version: 2.0.43
          Platform: Other
        OS/Version: Windows XP
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: mod_cgi
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: zeimusu@yahoo.co.uk


When saving a file as UTF-8 with Notepad under XP, notepad will insert a byte
order mark before the first character of the first line.
Apache then can't serve the script as it can't parse the magic first line, and
can't find perl (or whatever)

Workaround is not to save in UTF-8, or not to use Notepad, but apache should be
able to recognize byte order marks.

(related bug #11847, but that seems to be concered with xml)

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org