Re: [cgiapp] Problem displaying French, sometimes

2008-09-09 Thread Ron Savage
Hi Mike Ok. Here's the output. > Don't know if this will come through correctly via email - I'll mail [EMAIL PROTECTED]:~$ ./test_utf8.pl Test phrases - display and concatenation Benützername [UTF8 on, non-ASCII, 12 characters 13 bytes] Se déconnecter [UTF8 on, non-ASCII, 14 characters 15 bytes

Re: [cgiapp] Problem displaying French, sometimes

2008-09-09 Thread Ron Savage
Hi Mike On Tue, 2008-09-09 at 11:18 +0100, Mike Tonks wrote: > Hi Ron, > > Don't know if this will come through correctly via email - I'll mail Yep, received. $many x $thanx; > In summary - I found I did not need encode or decode functions, but > did need to 'use utf8' and binmode utf8, and whe

Re: [cgiapp] Titanium first impressions

2008-09-09 Thread Jaldhar H. Vyas
On Tue, 9 Sep 2008, Richard Jones wrote: I've been having a play with Titanium. As I understand it, it's just a class that WebApp inherits instead of the traditional 'use base CGI::Application', and just loads some useful modules (CAP::*), but doesn't include Dispatch, Authentication, etc so w

[cgiapp] Titanium first impressions

2008-09-09 Thread Richard Jones
I've been having a play with Titanium. As I understand it, it's just a class that WebApp inherits instead of the traditional 'use base CGI::Application', and just loads some useful modules (CAP::*), but doesn't include Dispatch, Authentication, etc so we still have to do these manually? What's

Re: [cgiapp] Problem displaying French, sometimes

2008-09-09 Thread Mike Tonks
Hi Ron, Don't know if this will come through correctly via email - I'll mail you direct with file as an attachment - but I ended up writing a simple perl script to run from the command line to test my utf8 data display and retrieval from the database. You will need to alter the database calls to

Re: [cgiapp] Problem displaying French, sometimes

2008-09-09 Thread Ron Savage
Hi Mike On Mon, 2008-09-08 at 09:23 +0100, Mike Tonks wrote: > You got me there. I'm using mysql with utf8 and this works fine for > me. I tend to agree with Peter that utf8 is the way to go. I've tried to go the 'utf8' way (1) httpd.conf: PerlSetEnv PGCLIENTENCODING UTF8 (2) startup.pl