Hello,

I would like to change the HTML escaping mode inside a [- -] block; I
thought the following piece of code would do it:

----------------------------------------------------------------------------
[-
local $escmode = 7;
print OUT "�ric\n";
local $escmode = 0;
print OUT "�ric\n";
-]
----------------------------------------------------------------------------

but the HTML source produced by Embperl 2.0b7 is

----------------------------------------------------------------------------
éric
éric
----------------------------------------------------------------------------

whereas I was expecting

----------------------------------------------------------------------------
éric
�ric
----------------------------------------------------------------------------

  Is it a feature or a bug?

  EOL

--
Eric-Olivier LE BIGOT (EOL)
------o-o----------------------------------------------------o-o------
        National Institute of Standards and Technology (NIST)
        100 Bureau Drive, Stop 8401
        Gaithersburg, MD  20899-8401
        United States of America
------o-o----------------------------------------------------o-o------
off.: (301)-975-4397                               fax: (301)-975-4578
home: (301)-633-3160                         e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to