[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: inserting win1256 data using perl-dbi



hi,
in perl CGI script add this line

$ENV{NLS_LANG}=".AR8MSWIN1256";
or
$ENV{NLS_LANG}=".AL32UTF8";


Regards, uttam hoode

On 7/6/06, Michelle Konzack <linux4michelle at freenet dot de> wrote:
Am 2006-06-26 00:24:27, schrieb ahmed:
> On Mon, 2006-06-26 at 09:42 +0530, uttam hoode wrote:
> >   i am able to solve the problem. Instead of windows 1256 charset now
> > i am using UTF-8 encoding but atrribute type remains the
> > same(VARCHAR,CHAR and not NVARCHAR,NCHAR........)
> >   is there any problem/issues if i use VARCHAR for UTF?
>
> on mysql, i use varchar w/o a problem... not sure about other databases
> though.

With PostgreSQL no problems too.

Greetings
    Michelle Konzack
    Back from Palestine


-- Linux-User #280138 with the Linux Counter, http://counter.li.org/ ##################### Debian GNU/Linux Consultant ##################### Michelle Konzack Apt. 917 ICQ #328449886 50, rue de Soultz MSM LinuxMichi 0033/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com)



_______________________________________________
Developer mailing list
Developer at arabeyes dot org
http://lists.arabeyes.org/mailman/listinfo/developer



--
Utham H
Software Engineer
Lifetree Convergence Ltd
# 3540,HAL IInd Stage,
Doopanahalli,Indiranagar,
Bangalore-560038
Mobile: +91-9880332719
Office: +91-80-51254084/157
Mail: utham at lifetreeindia dot com
URL:www.lifetreeindia.com