How to convert character sets???

I need to load a CLOB from a BFile, the BFile is in an (HP-UX) US7ASCII character set and the database is UTF8. I need to load the CLOB using dbms_lob.loadfromfile but can't find any info on how to convert the US7ASCII file into a UTF8 CLOB.
HELP!!!
--Joan Armstrong                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Joan,
I don't know if this will help with conversion of you BFILE, but at
http://www.xml.com/lpt/a/2000/04/26/encodings/xmlparser.html
and at
http://xmlsoft.org/encoding.html
there is some information on conversion to UTF8.
Hope it helps. Let us know.
Dave

Similar Messages

  • May i use nls_charset12 to convert character set before executeQuery()?

    i got a problem for the db nls character set
    isn't us7ascii, so while retreiving data from database the data stored in ResultSet is changed to UTF-8 format. thus, my question is - how to convert character set before my executuing the method
    executeQuery() or any other methods would be appreciated.
    thanks in advice,

    This is Tommy. I saw your post on Oracle Forum. Can you give me the classes12.zip, classes12_g.zip, and nls_charset12.zip ?!
    Thx in advance !!
    Tommy fromTaiwan ( July 3, 2001 )

  • Flat File Load Issue - Cannot convert character sets for one or more charac

    We have recently upgraded our production BW system to SPS 17 (BW SP19)
    and we have issues loading flat files (contain Chinese, Japanese and
    Korean characters) which worked fine before the upgrade. The Asian
    languages appear as invalid characters (garbled) as we can see in PSA. The Character Set
    Settings was previously set as Default Setting and it worked fine until
    the upgrade abd we referred to note 1130965 and with the code page 1100
    the load went through (without the Cannot convert character sets for one or more characters error) however the Asian language characters will appear
    as invalid characters. We tried all the code pages suggested in the note e.g.
    4102, 4103 etc on the info packages but it did not work. Note that the
    flat files are encoded in UTF-8.

    I checked lower case option for all IO
    When i checked the PSA failed log no of records processed is "0 of 0" my question is with out processing single record system is througing this error message.
    When i use same file loading from local workstation no error message
    I am thinking when  I FTP the file from AS/400 to BI Application Server(Linex) some invalid characters are adding but how can we track that invalid char?
    Gurus please share your thoughts on this I will assign full points.
    Thanks,

  • Cannot convert character sets for one or more characters

    Hello,
    Issue:
    Source File:   Test.csv
    Source file dropped on application server as csv file via FTP
    Total records in csv file 102396
    I can able to load only 38,000 records after that I am getting error message  " convert character sets for one or more characters"  while loading into PSA .
    If i load same csv file from local workstation I am not getting any error message I can able to load total 102396 records.
    I am guessing while FTP the file into Application server some invalid codes adding?
    But I am FTP 7 files,  out of 7 I am unable to load only 1 file.
    Anybody have faced this kind of problem please share with me I will assign full points
    Thanks

    I checked lower case option for all IO
    When i checked the PSA failed log no of records processed is "0 of 0" my question is with out processing single record system is througing this error message.
    When i use same file loading from local workstation no error message
    I am thinking when  I FTP the file from AS/400 to BI Application Server(Linex) some invalid characters are adding but how can we track that invalid char?
    Gurus please share your thoughts on this I will assign full points.
    Thanks,

  • Cannot convert character sets for one or more characters Error message

    Hello,
    I am getting this error message "Cannot convert character sets for one or more characters" when i try to transfer the data from Application server file as CSV to PSA.
    Using T-code AL11
    Under SAP Directory I open my file I  can able to see all contents of my file right?
    But i can't able to see all my data because of this I am getting ths error message?
    I am loading Master data attribute
    Is there any limitation on record length?
    Please share your thought..
    Thansk

    Which length should not exceed 60.
    When i load the same file from local workstation I can able to load no error message
    Why I am getting if i load same file from application server?
    Thanks

  • Convert character sets for one or more characters

    Hello,
    Issue:
    Source File: Test.csv
    Source file dropped on application server as csv file via FTP
    Total records in csv file 102396
    while loading into PSA  I can able to load only 38,000 records after that I am getting error message " convert character sets for one or more characters" .
    If i load same csv file from local workstation I am not getting any error message I can able to load total 102396 records.
    Anybody have faced this kind of problem please share with me I will assign full points
    Thanks

    Hi,
    check
    Flatfile Issue
    Regards,
    Arek

  • How to convert character into numeric

    Pls suggest me how to convert character value into numeric value.

    If you are looking for some FM then
    USE
    CALL FUNCTION 'CHAR_NUMC_CONVERSION'
    EXPORTING
    INPUT = 0
    IMPORTING
    NUMCSTR =
    or use
    Sample code below:
    codeDATA: lv_chr(4) type c,
    lv_num type p.
    CALL FUNCTION 'MOVE_CHAR_TO_NUM'
    EXPORTING
    CHR = lv_chr
    IMPORTING
    NUM = lv_num
    EXCEPTIONS
    CONVT_NO_NUMBER = 1
    CONVT_OVERFLOW = 2
    OTHERS = 3.
    IF SY-SUBRC 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.[/code]
    or USE
    CONVERT_STRING_TO_INTEGER
    or USE THESE FMs
    MOVE_CHAR_TO_NUM
    C14W_CHAR_NUMBER_CONVERSION
    CHAR_NUMC_CONVERSION
    reward if helpful

  • ADADMIN Convert Character Set CUSTOM_TOP

    Hi All,
    I am in the process of converting my 11i instance to UTF8. The database has been converted using DMU. The application folder structure is conveted using the ADADMIN utility.
    The conversion of APPL_TOP is fine and no issues.
    The conversion of CUSTOM_TOP created issues, the permission of files have chagned and none of the files in the custom top has execute permission.
    Has anyone done characteset conversion in the past?
    How to handle the CUSTOM_TOP character set conversion ? Can we just ignore the CUSTOM_TOP from converting to UTF8 ?
    Regards
    Sridhar M

    The files that were present in the CUSTOM_TOP during the conversion had their permissions changed after the conversion. ie., none of the files had the execute privilege and hence the users were getting permission denied error on the CUSTOM objects.You can simply set the execute permission on those files.
    If you have followed any metalink document please share it with me. Please see the docs referenced in these threads.
    Character Set Migration
    Oracle E-Biz Applications Database characterset conversion
    MLS Data Character Set Conversion
    http://forums.oracle.com/forums/search.jspa?threadID=&q=Convert+AND+Characterset&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    http://forums.oracle.com/forums/search.jspa?threadID=&q=Migrate+AND+Characterset&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • Oracle11g: how I change character set to AL32UTF8?

    Hi, a software is requiring to have a database with AL32UTF8 character set.
    For what I understand I have an instance of db with
    nls_language=american
    I tried:
    SQL> alter database character set AL32UTF8;
    alter database character set AL32UTF8
    ERROR at line 1:
    ORA-12712: new character set must be a superset of old character set
    what's wrong? How can I achieve this?
    Thanks a lot.
    Warning: you are talking with a non expert. :)

    802428 wrote:
    Hi schavali,
    I am new bee to oracle and BPM so i am unable to get which database you are talking about to drop & recreate and also how to do so.
    Any help over this will be highly appreciable.
    Regards,
    ITM CrazyWe are referring to OP's database (where the characterset is set to WE8MSWIN1252)
    Srini

  • How to change character set to arabic in Develper suite forms 10g

    Dear all,
    Our company wants migrate oracle forms 4.5/6i applications to Oracle developer suite 10g version.
    They also want there database to upgrade from 9i to 10g.
    They gave me test machine, on which windows xp is installed and i did the following:-
    1,Installed Oracle 10g Xe edition database.
    2,Installed Oracle 10g Devloper suite(oracle forms, Oracle reports).
    3, Configured the connection of Oracle Developer suite 10g to Oracle Database 10g.
    4, Loaded Data into the 10g database. *( they are few columns like DEPARTMENT_NAME_ARB, FUNCTION_NAME_ARB which is supposed to show in arabic fonts, as it is in arabic in 9i database, now they are showing in some special characters)*
    What I would like to know is: Is there a way through which i can set characterset?
    Is it in the database in which i have to make character set change?
    Is it in the oracle developer suite application in which i have to make character set change?
    Is it in the registry in which i have to make changes?
    please help.

    Hi freinds,
    It is very encouraging to see your replies, i apologize for the late reponse, i still got no success with updating PROPS$,
    I relgiously followed all the instructions given to me by all of you. Like u could see in my previous posts
    Luckiily, i am able to insert one row at a time manaually iin arabic and in english by pressing (ALT+SHIFT).
    When i create datablocks in forms builder, i do see output in arabic.
    When i create report in group style i do see ouptput in arabic.
    i have thousands of rows(in GB's) which needs to be inserted in this new database 10g XE edition (downloaded from oracle)
    I have attempted multiple times insertion of data by just running script, or simply copying numerous insert statement rows from notepad to sql*plus, unluckily it alwayz retreived the special charachters rather than retreiving arabic characters.
    Is there a way to insert data in this new oracle 10g xe editon database via oracle developer suite 10g forms/reports?
    Do I have to use inbuilt data load/unload utilities in oracle 10g xe edition?
    Do I have to install sql*loader separately to load the data?
    Do you think TOAD can help in this?
    Could you please tell me how to add snap shots in this post?(user10947262)
    Here are the following details of National Language Parameter Value
    Before
    NLS_CALENDAR     GREGORIAN
    NLS_CHARACTERSET     AL32UTF8 (IS this multibyte (UTF-8) character set SARAH?)
    NLS_COMP     BINARY
    NLS_CURRENCY     $
    NLS_DATE_FORMAT     DD-MON-RR
    NLS_DATE_LANGUAGE     AMERICAN
    NLS_DUAL_CURRENCY     $
    NLS_ISO_CURRENCY     AMERICA
    NLS_LANGUAGE     AMERICAN
    NLS_LENGTH_SEMANTICS     BYTE
    NLS_NCHAR_CHARACTERSET     AL16UTF16
    NLS_NCHAR_CONV_EXCP     FALSE
    NLS_NUMERIC_CHARACTERS     .,
    NLS_SORT     BINARY
    NLS_TERRITORY     AMERICA
    NLS_TIMESTAMP_FORMAT     DD-MON-RR HH.MI.SSXFF AM
    NLS_TIMESTAMP_TZ_FORMAT     DD-MON-RR HH.MI.SSXFF AM TZR
    NLS_TIME_FORMAT     HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT     HH.MI.SSXFF AM TZR
    After
    NLS_CALENDAR     GREGORIAN
    NLS_CHARACTERSET     AL32UTF8
    NLS_COMP     BINARY
    NLS_CURRENCY     ر.س.
    NLS_DATE_FORMAT     DD/MM/RR
    NLS_DATE_LANGUAGE     ARABIC
    NLS_DUAL_CURRENCY     ر.س.
    NLS_ISO_CURRENCY     SAUDI ARABIA
    NLS_LANGUAGE     ARABIC
    NLS_LENGTH_SEMANTICS     BYTE
    NLS_NCHAR_CHARACTERSET     AL16UTF16
    NLS_NCHAR_CONV_EXCP     FALSE
    NLS_NUMERIC_CHARACTERS     .,
    NLS_SORT     ARABIC
    NLS_TERRITORY     SAUDI ARABIA
    NLS_TIME_FORMAT     HH12:MI:SSXFF PM
    NLS_TIMESTAMP_FORMAT     DD/MM/RR HH12:MI:SSXFF PM
    NLS_TIMESTAMP_TZ_FORMAT     DD/MM/RR HH12:MI:SSXFF PM TZR
    NLS_TIME_TZ_FORMAT     HH12:MI:SSXFF PM TZR
    Certainly Christian, i dont want to screw my oracle 10g database xe edition software and installation, and i agree and hope with this that creating new database and doing exporting and importing will work for me. (XE edition doesnt give option to create new database, i need to install 10g release2 media pack from edelivery)
    However, with the above informatiion provided, Is it really needed?
    Please help me.
    Thanks and Regards

  • How to convert character streams to byte streams?

    Hi,
    I know InputStreamReader can convert byte streams to character streams? But how to convert the character streams back to byte streams? Is there a Java class for that?
    Thanks in advance.

    When do you have to do this? There's probably another way. If you just start out using only InputStreams you shouldn't have that problem.

  • How to change character set to Unicode

    Where can I get my current character set encoding value.
    How do I change my encoding to Unicode.
    What is the procedure.
    Thnx in advance.
    Ameya,

    If you have not done so already, I suggest reading the Globalization Support guide. This document explains topics like Choosing a character set and Character Set Migration.
    Also visit the Globalization Support, where these types of questions really belong.

  • How to change character set

    hi my database character set is non-AL32UTF8 HOW can i change this to be AL32UTF8 am in database 11g
    SQL> select * from v$nls_parameters where parameter like '%CHARACTERSET%';
    PARAMETER
    VALUE
    NLS_CHARACTERSET
    WE8MSWIN1252
    NLS_NCHAR_CHARACTERSET
    AL16UTF16
    there is something in database i cannot drop database

    i did this
    SQL> @C:\app\Tshifhiwa\product\11.2.0\dbhome_1\RDBMS\ADMIN\csalter.plb
    insert into csm$dictusers
    ERROR at line 1:
    ORA-00942: table or view does not exist
    Function created.
    Warning: Function created with compilation errors.
    Warning: Procedure created with compilation errors.
    This script will update the content of the Oracle Data Dictionary.
    Please ensure you have a full backup before initiating this procedure.
    Would you like to proceed (Y/N)?y
    old   6:     if (UPPER('&conf') <> 'Y') then
    new   6:     if (UPPER('y') <> 'Y') then
        csm$main();
    ERROR at line 10:
    ORA-06550: line 10, column 5:
    PLS-00905: object SYS.CSM$MAIN is invalid
    ORA-06550: line 10, column 5:
    PL/SQL: Statement ignored
        select value into svalue from csm$parameters where name='CSALTER_FINISHED';
    ERROR at line 9:
    ORA-06550: line 9, column 35:
    PL/SQL: ORA-00942: table or view does not exist
    ORA-06550: line 9, column 5:
    PL/SQL: SQL Statement ignored
    ORA-06550: line 18, column 35:
    PL/SQL: ORA-00942: table or view does not exist
    ORA-06550: line 18, column 5:
    PL/SQL: SQL Statement ignored
    ORA-06550: line 21, column 38:
    PL/SQL: ORA-00942: table or view does not exist
    ORA-06550: line 21, column 8:
    PL/SQL: SQL Statement ignored
    ORA-06550: line 27, column 35:
    PL/SQL: ORA-00942: table or view does not exist
    ORA-06550: line 27, column 5:
    PL/SQL: SQL Statement ignored
    ORA-06550: line 30, column 38:
    PL/SQL: ORA-00942: table or view does not exist
    ORA-06550: line 30, column 8:
    PL/SQL: SQL Statement ignored
    delete from csm$dictusers where username in ('PM', 'SH', 'HR', 'OE')
    ERROR at line 1:
    ORA-00942: table or view does not exist
    Function dropped.
    Function dropped.
    Procedure dropped.
    SQL> shutdown immediate;
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> ALTER SYSTEM ENABLE RESTRICTED SESSION;
    ALTER SYSTEM ENABLE RESTRICTED SESSION
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 4360
    Session ID: 139 Serial number: 6
    SQL> ALTER SYSTEM SET JOB_QUEUE_PROCESSES=0;
    ERROR:
    ORA-01034: ORACLE not available
    Process ID: 4360
    Session ID: 139 Serial number: 6
    ALTER SYSTEM SET JOB_QUEUE_PROCESSES=0
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 4360
    Session ID: 139 Serial number: 6
    SQL> ALTER SYSTEM SET AQ_TM_PROCESSES=0;
    ERROR:
    ORA-01034: ORACLE not available
    Process ID: 4360
    Session ID: 139 Serial number: 6
    ALTER SYSTEM SET AQ_TM_PROCESSES=0
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 4360
    Session ID: 139 Serial number: 6
    SQL> ALTER SYSTEM SET JOB_QUEUE_PROCESSES=0;
    ERROR:
    ORA-01034: ORACLE not available
    Process ID: 4360
    Session ID: 139 Serial number: 6
    ALTER SYSTEM SET JOB_QUEUE_PROCESSES=0
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 4360
    Session ID: 139 Serial number: 6
    SQL> connect /as sysdba
    Connected to an idle instance.
    SQL> startup mount;
    ORACLE instance started.
    Total System Global Area  535662592 bytes
    Fixed Size                  1375792 bytes
    Variable Size             373293520 bytes
    Database Buffers          155189248 bytes
    Redo Buffers                5804032 bytes
    Database mounted.
    SQL> ALTER SYSTEM ENABLE RESTRICTED SESSION;
    System altered.
    SQL> ALTER SYSTEM SET JOB_QUEUE_PROCESSES=0;
    System altered.
    SQL> ALTER SYSTEM SET AQ_TM_PROCESSES=0;
    System altered.
    SQL> ALTER DATABASE OPEN;
    Database altered.
    SQL> ALTER DATABASE CHARACTER SET 'AL32UTF8';
    ALTER DATABASE CHARACTER SET 'AL32UTF8'
    ERROR at line 1:
    ORA-24329: invalid character set identifier
    SQL> ALTER DATABASE CHARACTER SET AL32UTF8;
    ALTER DATABASE CHARACTER SET AL32UTF8
    ERROR at line 1:
    ORA-12712: new character set must be a superset of old character set
    SQL> select * from v$nls_parameters where parameter like '%CHARACTERSET%';
    PARAMETER
    VALUE
    NLS_CHARACTERSET
    WE8MSWIN1252
    NLS_NCHAR_CHARACTERSET

  • Import error converting character set

    Hi there, the first time i ever post something, so i hope i give enough information so my question can be answered.
    I have an oracle 8.1.6 database on Windows NT4. On the same machine i have installed Designer 6.
    Everything is working just fine i just can't import a dump file made from repository 6. It's not a full dump, so i first created a whole new repository.
    Now, when i want to import the dump file in command prompt, using the imp.exe (present in C:\<oracle_home>\bin), the next error occurs:
    IMP-00069: Could not convert to environment national character set's handle
    IMP-00000: Import terminated unsuccessfully.
    As the import is due to start, it gives the following message:
    import done in WE8iSO8859P1 character set and WE8IS08859P1 NCHAR character set.
    Then the error occurs.
    Now i wonder if this can be solved. I cannot see in the dump file what character set was used there. I did not make the export myself. Is there a way that i can convert the character set in the dumpfile or something? Or should i solve this problem by making changes in the database?
    Thx for your help, i am trying to solve this problem myself for over a week now and i'm getting tired of it.

    Hi friend,
    Same Problem i have faced, and i found that this is due to only the Version mismatch, u attempting to import data from higher version to lower one.
    Just check at ur end also.
    Bye
    Tehzeeb Ahmed

  • Importing converts character set

    Hello, everyone. I'm exporting from Windows 8.1.5 and importing into Linux 8.1.6. Both servers use character set WE8ISO8859P1. But when I import, I get this:
    Export file created by EXPORT:V08.01.05 via direct path
    import done in US7ASCII character set and US7ASCII NCHAR character set
    import server uses WE8ISO8859P1 character set (possible charset conversion)
    export client uses WE8ISO8859P1 character set (possible charset conversion)
    export server uses WE8ISO8859P1 NCHAR character set (possible ncharset conversio
    n)
    The import server originally was set to US7ASCII but I changed it using ALTER DATABASE CHARACTER SET and I've set NLS_LANG=.WE8ISO8859P1 on the import server.
    Suggestions? Your help is much appreciated!
    John

    Nothing is jumping out at me in terms of incorrect settings. Where did you specifically run the import from, Windows or Linux and from what tool Net8 etc? Are you sure NLS_LANG on Linux is now WE8ISO8859P1?

Maybe you are looking for

  • Error message saying Apple ID has been disabled

    looking for some help!  I'm trying to enter a new ITunes card number to my acount and I'm getting an error message saying my Apple ID has been disabled.  Any ideas on how to fix this so that I can enter the card number?

  • Send query results to a file using Toad

    Hello, I have a select statement that generates xml rows, and I need to send the results to a file. I am using TOAD VI. The rows generate ok but when I right click and choose the save as option all I end up with is an empty file. Is there a way I can

  • Can we Purchase with Secondary UOM Quantity and with Secondary UOM Price on

    Friends.. wanna ask about Purchasing matters.. we have item with Dual Unit of Measure, say it with Kilogram and Pieces, now, on Purchase Orders Form, when i enter my order, TOTAL Price is driven by Primary QUANTITY multiply PRICE. My question: when u

  • Upload of Pricing

    Hello SD Gurus, If we are using LSMW for uploading the Condition records the field name KSCHL would be the same for PR00, PR02 and PMIN.  How do I differentiate between them? So that the program picks up all the values at the same time? Also if there

  • Should e-book Data Guard Concepts and Administration be useless for us?

    I think The Data Guard Broker is an easy and efficient way to manage a Data Guard configuration. The Data Guard Broker provides us with two efficient tools: EM Console and DGMGRL. We can do everything we want for Data Guard system. Why we spend so mu