Re: Encoding

2006-09-04 Thread Martin J. Evans
On Mon, 2006-09-04 at 14:13 -0400, Daniel Zeman wrote: > Martin J. Evans napsal(a): > > On 31-Aug-2006 Daniel Zeman wrote: > >> Hi, > >> I wonder if anyone can help me. > >> > >> I am using > >> - Debian Linux > >> - Perl 5.8.8 > >> - DBI (I do not know how to figure out its version) > > >

Re: Encoding

2006-09-04 Thread Daniel Zeman
Martin J. Evans napsal(a): > On 31-Aug-2006 Daniel Zeman wrote: >> Hi, >> I wonder if anyone can help me. >> >> I am using >> - Debian Linux >> - Perl 5.8.8 >> - DBI (I do not know how to figure out its version) > > perl -MDBI -e 'print "$DBI::VERSION\n";' 1.51 > >> - MySQL 5.0.22-Debian_3-log >

RE: Encoding

2006-09-04 Thread h-taguchi
> perl -MDBI -e 'print "$DBI::VERSION\n";' Less typed: perl -MDBI -le 'print DBI->VERSION' Regards,

RE: Encoding

2006-09-04 Thread Martin J. Evans
On 31-Aug-2006 Daniel Zeman wrote: > Hi, > I wonder if anyone can help me. > > I am using > - Debian Linux > - Perl 5.8.8 > - DBI (I do not know how to figure out its version) perl -MDBI -e 'print "$DBI::VERSION\n";' > - MySQL 5.0.22-Debian_3-log What DBD::mysql version are you using? perl -M'

Re: encoding pragma aborts script

2005-01-24 Thread RH
"Jeff Zucker" <[EMAIL PROTECTED]> píse v diskusním príspevku news:[EMAIL PROTECTED] > RH wrote: > >>Hi, >>I have an app which connects via DBI:DBD:CSV to a flat file. >>When I include pragma use encoding, > Ah, ok I found it. This patch to DBD::File fixes it. > > 533c533 > < sprintf('(?:%s|%

Re: encoding pragma aborts script

2005-01-23 Thread Jeff Zucker
RH wrote: Hi, I have an app which connects via DBI:DBD:CSV to a flat file. When I include pragma use encoding, Ah, ok I found it. This patch to DBD::File fixes it. 533c533 < sprintf('(?:%s|%s¦%s)', --- sprintf('(?:%s|%s|%s)', In other words, change line 533 in File.pm to look like the se

Re: encoding pragma aborts script

2005-01-23 Thread Jeff Zucker
RH wrote: I have an app which connects via DBI:DBD:CSV to a flat file. When I include pragma use encoding, the app aborts (message from OS and the script is killed). I found out that script is aborted during execute method of DBI. The DB file has only ASCII characters. I use pragma encoding to disp

Re: encoding

2002-11-06 Thread Guillaume Rousse
Le Mercredi 6 Novembre 2002 17:26, [EMAIL PROTECTED] a écrit : > Guillaume Rousse <[EMAIL PROTECTED]> said: > > Le Mardi 5 Novembre 2002 17:51, Gaul, Ken a écrit : > > > Set your NLS_LANG environement variable before execution of your script > > > and it should work as expected. > > > > This doesn'

Re: encoding

2002-11-06 Thread dams
Guillaume Rousse <[EMAIL PROTECTED]> said: > Le Mardi 5 Novembre 2002 17:51, Gaul, Ken a écrit : > > Set your NLS_LANG environement variable before execution of your script and > > it should work as expected. > This doesn't seems to be the most portable construct among different > systems/dbms...

Re: encoding

2002-11-06 Thread Guillaume Rousse
Le Mardi 5 Novembre 2002 17:51, Gaul, Ken a écrit : > Set your NLS_LANG environement variable before execution of your script and > it should work as expected. This doesn't seems to be the most portable construct among different systems/dbms... According to postgresql manual, the following is SQL

Re: encoding

2002-11-05 Thread dams
"Gaul, Ken" <[EMAIL PROTECTED]> said: > Set your NLS_LANG environement variable before execution of your script and > it should work as expected. thanks I'll try that ! -- ~/.signature

RE: encoding

2002-11-05 Thread Gaul, Ken
Set your NLS_LANG environement variable before execution of your script and it should work as expected. Ken. -Original Message- From: [EMAIL PROTECTED] [mailto:dams@;idm.fr] Sent: 05 November 2002 16:07 To: [EMAIL PROTECTED] Subject: encoding Hi, I'm new to this list, so hello everyone

RE: encoding issue

2002-09-06 Thread Peschka, Jeremiah
You might want to take a look at also explicitly setting the character encoding in your HTML document, since that is where the javascript is getting a hold of it. I am assuming, of course, that the client-side is what you believe is corrupting your data. If you're using UTF-8, you can tell perl

Re: encoding caracter

2002-05-30 Thread Bart Lateur
On Thu, 30 May 2002 14:03:01 +0200, Cédric Mallet wrote: >I would to send the request SET CLIENT_ENCODING TO 'iso-8859-15'; > >I get an error with those lines in my perl script : > > my $sql_encod = qq{ SET CLIENT_ENCODING TO 'iso-8859-15'; }; Try dropping the semicolon at the end of the SQL sta