Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Characters are inserted wrong

Re: Characters are inserted wrong

From: Sybrand Bakker <postbus_at_sybrandb.demon.nl>
Date: 16 Jan 2002 01:02:25 -0800
Message-ID: <a20d28ee.0201160102.1b11e538@posting.google.com>


"Robert Drinovac" <rdrinova_at_invatron.com> wrote in message news:<hS218.91$EI.630_at_tor-nn1.netcom.ca>...
> I have a question regarding an insert problem I am having using ODBC. The
> application is running on a WIN 32 system and the database is Oracle 8i and
> is located on a AIX system. The statement I have is below:
>
> insert into table1 (test1) values ('Parent Ingr 1§§ø')
>
> When I look at what got stored in the database, I see this returned:
>
> Parent Ingr 1???
>
> The problem is that the § and the ø symbol got substituted with a question
> mark. The symbols I am using are in the 8-bit ASCII range. Is there a way
> to work insert the characters properly? I noticed there is a Translation
> Options tab located in the ODBC driver configuration which I might be able
> to set to something although I don't know what it should be set at the
> moment.

This would point to (and/or)
- incorrect characterset on the Unix server (very unlikely) - incorrect or missing value of the NLS_LANG environment variable in the .profile of the Unix database owner (very likely! It should read American_America.WE8ISO8859P1)
- incorrect database characterset (issue select * from nls_database_parameters to verify)
As you specify no database version I can't provide you with the correct procedure to change the database characterset.

Hth

Sybrand Bakker
Senior Oracle DBA Received on Wed Jan 16 2002 - 03:02:25 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US