Hi Gerald!

First thanks for rc2! Long time no new release ;-(

Now the 'bug' report ;-|

I use UTF-8 since two weeks (and I REALLY like it! Everything works much better 
than latin1) so I had to rename epchar.c.min to epchar.c before compilation.
This results in make test failing in the fourth test (because it checks 
escaping which the epchar.c.min doesn't do).

I have a search page which uses a form to pass the search string to the result 
page.
UTF-8 passed chars weren't converted to uppercase with uc(), all other chars 
were...
After hours of reading perl docs about UTF-8 I found out that vars have an 
UTF-8 yes/no flag (which seemes not to be set for $fdat).

In the page that displays the results I had to add the following line to make 
things work:

*SNIP*
# get CGI var
$search = $fdat{'search'};
# perl doesn't set the 'UTF-8' flag although the variable is passed as UTF-8 so 
set it manually
utf8::decode($search);
*SNIP*

I first thought that I have to use utf8::encode($search) but decode finally did 
it.
I don't know the embperl internals...so maybe you can look into it if thats a 
bug.
For all others who use UTF-8: here is the workaround ;-)

It would be better for newbies if perl Makefile.pl asks for UTF-8 and use 
epchar.c.min for the compile instead of epchar.c.
OR (which would be the best approach in my opinion):
Make it configurable (per virtual host?!).

Everything else works like a charm (for over a year now) ;-).

With kind regards
Alexander Hartmaier

T-Systems Austria GesmbH
Rennweg 97-99 1030 Wien

phone: +43 57057-4320
fax: +43 57057-95-4320
mobile: +43 676 8642 4320
mail: [EMAIL PROTECTED]
internet: http://www.t-systems.at
-----Ursprüngliche Nachricht-----
Von: Gerald Richter [mailto:[EMAIL PROTECTED] 
Gesendet: Sonntag, 21. November 2004 20:40
An: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Betreff: ANNOUNCE: Embperl 2.0rc2

The URL

    ftp://ftp.dev.ecos.de/pub/perl/embperl/Embperl-2.0rc2.tar.gz

has entered CPAN as

  file: $CPAN/authors/id/G/GR/GRICHTER/Embperl-2.0rc2.tar.gz
  size: 676467 bytes
   md5: f8af732dae2543e4c396f5fbe5a0e6a5

This is the release candidate 2. If no additional bugs are found this will
turn into Embperl 2.0.0 

Any bug reports, patches, documentation updates, spelling corrections are
welcome. So give it a try...


Embperl is a system for building dynamic websites with Perl.

It gives you the power to embed Perl code in your HTML/XML documents and the
ability to build your Web site out of small reusable objects in an
object-oriented style. 

Embperl has several features which are especially useful for creating
Websites, including dynamic tables, form field processing, URL
escaping/unescaping, session handling, caching, xslt transformation and
more.

See http://perl.apache.org/embperl/ (english) or http://www.ecos.de/embperl/
(german) for more information.

Enjoy

Gerald


Changes since 2.0rc1:

   - Flush output to client and send final chuck, before cleanup runs.
   - Fix compiler error when compiling with Perl 5.005.
   - Fix html input tag value set, when %fdat value is 0. Reported
     by Torsten Luettgert.
   - Fix test, for Apache 1.3 with static mod_perl and other dynamic
     modules, by loading Embperl first. Reported by Christophe Le Bars.
   - Fix FastCGI read of POST data, reported by Doug Rayner.
   - Readded tests for CGI mode.


---------------------------------------------------------------------------
Gerald Richter            ecos electronic communication services gmbh
IT-Securitylösungen * Webapplikationen mit Apache/Perl/mod_perl/Embperl

Post:       Tulpenstrasse 5          D-55276 Dienheim b. Mainz
E-Mail:     [EMAIL PROTECTED]          Voice:   +49 6133 939-122
WWW:        http://www.ecos.de/      Fax:     +49 6133 939-333
---------------------------------------------------------------------------
ECOS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info
---------------------------------------------------------------------------
 


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


*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
Hinweis: Dieses E-mail kann vertrauliche und geschützte Informationen enthalten.
Sollten Sie nicht der beabsichtigte Empfänger sein, verständigen Sie bitte den 
Absender und löschen Sie dieses E-mail dann sofort.

Notice: This e-mail contains information that is confidential and may be 
privileged.
If you are not the intended recipient, please notify the sender and then delete 
this e-mail immediately.
*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*

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

Reply via email to