Rachel,

I think that you are seeing this behavior, because when on Unix, if NLS_LANG
is not set in the environment, it defaults to US7ASCII, which does not
include the extended characters.  The characterset shown in
NLS_DATABASE_PARAMETERS is the database's characterset, not the charset
which the client picks up from the environment:

  1* select * from NLS_DATABASE_PARAMETERS                             
                                                                       
PARAMETER                      VALUE                                   
------------------------------ ----------------------------------------
NLS_LANGUAGE                   AMERICAN                                
NLS_TERRITORY                  AMERICA                                 
NLS_CURRENCY                   $                                       
NLS_ISO_CURRENCY               AMERICA                                 
NLS_NUMERIC_CHARACTERS         .,                                      
NLS_CHARACTERSET               WE8ISO8859P1                            
NLS_CALENDAR                   GREGORIAN                               
NLS_DATE_FORMAT                DD-MON-RR                               
NLS_DATE_LANGUAGE              AMERICAN                                
NLS_SORT                       BINARY                                  
NLS_TIME_FORMAT                HH.MI.SSXFF AM                          
NLS_TIMESTAMP_FORMAT           DD-MON-RR HH.MI.SSXFF AM                
NLS_TIME_TZ_FORMAT             HH.MI.SSXFF AM TZH:TZM                  
NLS_TIMESTAMP_TZ_FORMAT        DD-MON-RR HH.MI.SSXFF AM TZH:TZM        
NLS_DUAL_CURRENCY              $                                       
NLS_COMP                       BINARY                                  
NLS_NCHAR_CHARACTERSET         WE8ISO8859P1                            
NLS_RDBMS_VERSION              8.1.7.3.0                               
                                                                       
18 rows selected.                                                      
                                                                       
SAMTESTN>  !echo $NLS_LANG                                             
AMERICAN_AMERICA.US7ASCII                                              
                                                                       

On Windows, however, I think the default is WE8ISO8859P1.

HTH
Gary

Gary Kirsh
Next Extent Consulting

-----Original Message-----
Sent: Tuesday, August 27, 2002 11:48 AM
To: Multiple recipients of list ORACLE-L


Ron,  

You were dead on correct (send me your snail mail address offlist and
I'll send you a signed copy of Oracle9i DBA 101)

Anjo, you were right too but you already have, or should be getting, a
copy of the book.  I'll buy you a beer at the next conference :)

Very strange. I was loading ON the server itself, not from my client.
Database is 9.2, my client on my PC is 8.1.7. The load worked from my
PC but not from the server. The pertinent default NLS parameters, from
NLS_DATABASE_PARAMETERS, when I do NOT set NLS_LANG are

PARAMETER                      VALUE
------------------------------ ----------------------------------------
NLS_LANGUAGE                   AMERICAN
NLS_TERRITORY                  AMERICA
NLS_CHARACTERSET               WE8ISO8859P1
NLS_NCHAR_CHARACTERSET         AL16UTF16
NLS_RDBMS_VERSION              9.2.0.1.0

which looks right but the load doesn't work. When I set the Unix
environment variable NLS_LANG to AMERICAN_AMERICA.WE8ISO8859P1, the
load works properly. Anyone want to explain THAT to me?

and the docs are, as usual, clear as mud.  I figured it out with the
hints from Ron and Anjo and testing inserts from my PC and the server
directly.

Hope this helps some other poor soul in the future!

Rachel

--- Ron Thomas <[EMAIL PROTECTED]> wrote:
> 
> Make sure your environment NLS_LANG matches how the data is encoded
> in your flat file.
> 
> Also, does the database characterset handle whatever special
> characters you are trying to import?
> 
> Ron Thomas
> Hypercom, Inc
> [EMAIL PROTECTED]
> If A = B and B = C, then A = C, except where void or prohibited by
> law. -- Roy Santoro
> 
> 
>                                                                      
>                                                               
>                       [EMAIL PROTECTED]                               
>                                                               
>                                                To:      
> [EMAIL PROTECTED]                                                 
>      
>                       08/26/02 02:41 PM        cc:                   
>                                                               
>                       Please respond to        Subject:  sql loader
> control file help                                               
>                       ORACLE-L                                       
>                                                               
>                                                                      
>                                                               
>                                                                      
>                                                               
> 
> 
> 
> 
> I am not, by any means, a SQL*Loader expert (Jonathan, I keep meaning
> to get your book!)
> 
> Here's the thing:
> 
> I have a flat file with character data that includes special
> characters
> (like accents and diacritical marks over letters). When I load the
> data
> in using SQL*Loader, the special characters disappear and are
> replaced
> by the letter (so Dvorák goes on as Dvorak).
> 
> How can I get the data in as it should be? I've been reading and will
> continue to read the fine manual, but I'm not finding this...
> 
> Help!
> 
> Rachel
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Finance - Get real-time stock quotes
> http://finance.yahoo.com
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Rachel Carmichael
>   INET: [EMAIL PROTECTED]
> 
> Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
> San Diego, California        -- Public Internet access / Mailing
> Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from).  You may
> also send the HELP command for other information (like subscribing).
> 
> 
> 
> 
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Ron Thomas
>   INET: [EMAIL PROTECTED]
> 
> Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
> San Diego, California        -- Public Internet access / Mailing
> Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from).  You may
> also send the HELP command for other information (like subscribing).


__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Rachel Carmichael
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Kirsh, Gary
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to