Re: Encoding problem

2010-04-26 Thread Alexander Hartmaier
Sorry, seems I missed the point. I'm using plain old Embperl, not Embperl::Object so it might be a difference in there. My old Embperl app works flawless with UTF-8. Have you checked if your browser sends the data as UTF-8 with e.g. tcpdump? In general you shouldn't rely on Perl's utf-8 flag but

RE: Encoding problem

2010-04-26 Thread Gerald Richter - ECOS
nal Message- > From: Jean-Christophe Boggio [mailto:embp...@thefreecat.org] > Sent: Monday, April 26, 2010 12:16 PM > To: embperl@perl.apache.org > Subject: Re: Encoding problem > > Hi, > > Since I seem to be the only one having problems with utf8 forms, I > guess > th

Re: Encoding problem

2010-04-26 Thread Jean-Christophe Boggio
Hi, Since I seem to be the only one having problems with utf8 forms, I guess the problem is me not expecting the correct things to happen. The following is a simple html test page with a simple form. I expect the result to be utf-8 but it's not (until I comment out the Encode::_utf8_on() line).

Re: Encoding problem

2010-04-22 Thread Jean-Christophe Boggio
Hi Alexander, Alexander Hartmaier a écrit : You should *always* return the correct charset in the http header, no matter which framework/cgi script you're using. ? The problem comes from the header I *receive*. The headers I send are always good (hard coded in base.epl). I'm quoting myself :

Re: Encoding problem

2010-04-22 Thread Alexander Hartmaier
You should *always* return the correct charset in the http header, no matter which framework/cgi script you're using. AddDefaultCharset in apache is bad because it appends that header for every resource which didn't specify it. -- Best regards, Alex Am Donnerstag, den 22.04.2010, 02:53 +0200 sc

Re: Encoding problem

2010-04-21 Thread Jean-Christophe Boggio
Hi Gerald, Gerald Richter - ECOS a écrit : setting the default encoding in the httpd.conf to utf8 might help I already have : AddDefaultCharset UTF-8 in my httpd.conf. I tried to add it to my directives and also AddCharset utf-8 .html With no more luck. I found other people describing t

RE: Encoding problem

2010-04-21 Thread Gerald Richter - ECOS
Hi, setting the default encoding in the httpd.conf to utf8 might help Gerald > -Original Message- > From: Jean-Christophe Boggio [mailto:embp...@thefreecat.org] > Sent: Wednesday, April 21, 2010 5:21 PM > To: embperl@perl.apache.org > Subject: Encoding problem > &g

Encoding problem

2010-04-21 Thread Jean-Christophe Boggio
Hello, I have problems with the encoding of posted form data. I try to do everything in UTF-8 (code, DB, html...). I have a form on a page where the data IS utf-8 (that's what I think) but it does not have the UTF-8 bit set, wonder why. Firefox detects the page encoding as Unicode (UTF-8). The