Re: National characters and UTL_FILE

2002-12-09 Thread Yechiel Adar



Hello Vladimir
 
I think that you need to take a look at the file before 
and after applying "unix2dos". Since you work with CE characters, maybe the 
conversion program can not handle this.
 
BTW - in Oracle 9.2 you can use utl_file to write Unicode 
to the file. Maybe this will help you.
 
Yechiel AdarMehish

  - Original Message - 
  From: 
  Vladimir Barac 
  
  To: Multiple recipients of list ORACLE-L 
  Sent: Friday, December 06, 2002 1:58 
  PM
  Subject: National characters and 
  UTL_FILE
  
  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...)...
   
   


Re: National characters and UTL_FILE

2002-12-08 Thread Mark Richard
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 
<[EMAIL PROTECTED]>   
  Subject:     National characters and UTL_FILE 

Sent by:   

[EMAIL PROTECTED] 

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: [EMAIL PROTECTED]

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: [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).




National characters and UTL_FILE

2002-12-06 Thread Vladimir Barac



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...)...