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.

-- 
dams

Reply via email to