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't seems to be the most portable construct among different
> > systems/dbms...
> >
> > According to postgresql manual, the following is SQL 92 standard:
> > SET NAMES 'encoding'
> >
> > Sofar, i've tried $dbh->do("SET NAMES 'unicode'"); at the beginning of my
> > script to get utf8 strings, but i'm not sure about the portability of
> > this specific encoding value.
>
> you can actually set the NLS_LANG stuff in the windows registery table for
> windows, or even better, pass it as argument to the driver.
I was talking of portability, so windows registry is definitely not an option.
And i'm not sure what NLS_LANG is exactly, but it seems to be a POSIX-only
env var also.
--
If a program actually fits in memory and has enough disk space, it is
guaranteed to crash.
-- Murphy's Computer Laws n�5