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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: National characters and UTL_FILE

Re: National characters and UTL_FILE

From: Mark Richard <mrichard_at_transurban.com.au>
Date: Sun, 08 Dec 2002 14:43:42 -0800
Message-ID: <F001.00514FCF.20021208144342@fatcity.com>


Vladimir,

Have you had any opportunity to look at the file immediately after it is produced from Oracle on the server (before being attached to the mail) - this might eliminate "uuenview"?

Can you display the special characters using dbms_output.put_line? If the problem is isolated to utl_file then perhaps you can consider spooling a statement to a file from SQL*Plus - In the past I have found this to give better performance anyway, although if you have a lot of complex logic you might need to create a temporary table with the results and then spool that table.

hth,

Mark.

                                                                                                                   
                    "Vladimir                                                                                      
                    Barac"               To:     Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>       
                    <vladob_at_aster.       cc:                                                                       
                    si>                  Subject:     National characters and UTL_FILE                             
                    Sent by:                                                                                       
                    root_at_fatcity.c                                                                                 
                    om                                                                                             
                                                                                                                   
                                                                                                                   
                    06/12/2002                                                                                     
                    22:58                                                                                          
                    Please respond                                                                                 
                    to ORACLE-L                                                                                    
                                                                                                                   
                                                                                                                   




Hello to everyone

I want to write national characters (Central European) to ASCII file, by using utl_file.

UTL_FILE is called within unix script, and afterwards ascii file (after applying "unix2dos") is sent as an attachment (by using "uuenview"). Both NLS_CHARACTERSET (EE8ISO8859P2) parameters are same within script (env.variable) and database.

But, instead of those specific letters I receive mail with useless content. I have then tried binary ftp of ASCII file, but to no avail.

I'm entering and reading those characters trough Forms with no problem at all.

So, is it possible to write CE characters (DOS extended character set actually) into ascii file?

Regional settings at Windows client (where mail or ftp are received) are appropriate (meaning, they are not set as USA...)...

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<---->>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

   Privileged/Confidential information may be contained in this message.

          If you are not the addressee indicated in this message
       (or responsible for delivery of the message to such person),
            you may not copy or deliver this message to anyone.
In such case, you should destroy this message and kindly notify the sender
           by reply e-mail or by telephone on (61 3) 9612-6999.
   Please advise immediately if you or your employer does not consent to
                Internet e-mail for messages of this kind.
        Opinions, conclusions and other information in this message
              that do not relate to the official business of
                         Transurban City Link Ltd
         shall be understood as neither given nor endorsed by it.
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<---->>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Mark Richard
  INET: mrichard_at_transurban.com.au

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (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).
Received on Sun Dec 08 2002 - 16:43:42 CST

Original text of this message

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