URL: https://www.opennet.ru/cgi-bin/openforum/vsluhboard.cgi
Форум: vsluhforumID3
Нить номер: 4723
[ Назад ]

Исходное сообщение
"Тематический каталог: Взаимодействие с Oracle на Perl (perl oracle database)"

Отправлено auto_topic , 02-Дек-04 21:41 
Обсуждение статьи тематического каталога: Взаимодействие с Oracle на Perl (perl oracle database)

Ссылка на текст статьи: https://www.opennet.ru/base/dev/perl_oracle.txt.html


Содержание

Сообщения в этом обсуждении
"Взаимодействие с Oracle на Perl (perl oracle database)"
Отправлено Robert Jackson , 02-Дек-04 21:41 
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



"Взаимодействие с Oracle на Perl (perl oracle database)"
Отправлено Serj , 15-Окт-13 09:43 
Add:
use utf8;
$ENV{NLS_LANG} = "AMERICAN_AMERICA.UTF8";

And save script in utf8 coding.