> From: Ken Ray [mailto:RayK@transport.nsw.gov.au]
> I am currently testing version 1.3b2, and I have come up with an
> interesting "bug" - at least I think it is a bug. I suspect that
> any " " characters are somehow getting converted to spaces
> before the html file is send from Apache to the client's browser.
> Let me explain the situation. Each of our pages has a title
> bar, where each letter in a word has a space between them, and
> there are three "hard" spaces between each word. For example, if
> the title line is to be "PRIVACY STATEMENT", I had previously
> encoded this as:
>
> <TD>P R I V A C Y S T A T E M E N
> T </TD>
>
> This make it clear to see. There are also styles use to set
> colour, background and fonts. However, despite escaping the
> output with the use of \ and $escmode=0, I cannot get this to
> generate the right html. What I do get is:
>
> <TD class="titleline">E M B E D D E D P E R L </TD>
>
> there are the three spaces - but being ascii space characters and
> not the meta-character the browser (correctly) removes the
> extraneous spaces.
>
> The environment is Apache 1.3.11 with mod_perl 1.21 running under
> Solaris 2.6.1
>
I guess setting optRawInput (EMBPERL_OPTIONS) will solve your problem. (if
the are outputed by some Perl code)
See the Faq.pod and the section "Inside Embperl" in the docs for more
details.
Gerald
P.S. Please post any further questions to the Embperl mailing list
-------------------------------------------------------------
Gerald Richter ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting
Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
E-Mail: richter@ecos.de Voice: +49 6133 925151
WWW: http://www.ecos.de Fax: +49 6133 925152
-------------------------------------------------------------
> I am currently testing version 1.3b2, and I have come up with an
> interesting "bug" - at least I think it is a bug. I suspect that
> any " " characters are somehow getting converted to spaces
> before the html file is send from Apache to the client's browser.
> Let me explain the situation. Each of our pages has a title
> bar, where each letter in a word has a space between them, and
> there are three "hard" spaces between each word. For example, if
> the title line is to be "PRIVACY STATEMENT", I had previously
> encoded this as:
>
> <TD>P R I V A C Y S T A T E M E N
> T </TD>
>
> This make it clear to see. There are also styles use to set
> colour, background and fonts. However, despite escaping the
> output with the use of \ and $escmode=0, I cannot get this to
> generate the right html. What I do get is:
>
> <TD class="titleline">E M B E D D E D P E R L </TD>
>
> there are the three spaces - but being ascii space characters and
> not the meta-character the browser (correctly) removes the
> extraneous spaces.
>
> The environment is Apache 1.3.11 with mod_perl 1.21 running under
> Solaris 2.6.1
>
I guess setting optRawInput (EMBPERL_OPTIONS) will solve your problem. (if
the are outputed by some Perl code)
See the Faq.pod and the section "Inside Embperl" in the docs for more
details.
Gerald
P.S. Please post any further questions to the Embperl mailing list
-------------------------------------------------------------
Gerald Richter ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting
Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
E-Mail: richter@ecos.de Voice: +49 6133 925151
WWW: http://www.ecos.de Fax: +49 6133 925152
-------------------------------------------------------------