Обсуждение статьи тематического каталога: Взаимодействие с Oracle на Perl (perl oracle database)Ссылка на текст статьи: http://www.opennet.me/base/dev/perl_oracle.txt.html
Hi, Дмитрий,
Can you help? I've set up a 9.0.4 database that is a UTF8 and the NLS_LANG settings for allowing Russian script are AMERICAN_AMERICA.UTF8
This works within Oracle Forms9i, etc.
My problem is that I have Perl scripts connecting to the database and the scripts retrieve are not showing the Russian script.
I've tried $ENV{NLS_LANG}="AMERICAN_AMERICA.UTF8";
or $ENV{NLS_LANG}="AMERICAN_CIS.CL8MSWIN1251";
but it doesn't work.
It would be great if you can reply to this
Add:
use utf8;
$ENV{NLS_LANG} = "AMERICAN_AMERICA.UTF8";And save script in utf8 coding.