Exporting files in Unicode

Hi,
I am using UTL_FILE.FOPEN_NCHAR and utl_file.PUT_line_NCHAR to write files in Unicode but instead it is exporting in UTF8 format, my database characterset is UTF8, it might be happening due to characterset.
Can i export files in Unicode rather in UTF8.
Thanks
Zubair

I think you must reverse the parameters it's destination first the source is optional
Regards
Etbin
Looking at 11g documentation: http://docs.oracle.com/cd/E11882_01/appdev.112/e25788/u_file.htm#autoId0
FOPEN_NCHAR Function
This function opens a file in national character set mode for input or output, with the maximum line size specified. You can have a maximum of 50 files open simultaneously. With this function, you can read or write a text file in Unicode instead of in the database character set.
Even though the contents of an NVARCHAR2 buffer may be AL16UTF16 or UTF8 (depending on the national character set of the database), the contents of the file are always read and written in UTF8. <font color="blue">UTL_FILE converts between UTF8 and AL16UTF16 as necessary.</font>
I'm not sure what the last statement means (no Database at hand to try it, besides the usual procedure is not to do it row-by-row but to obtain a clob which gets written out in 32767 byte chunks)
Edited by: Etbin on 26.2.2012 9:13

Similar Messages

  • How can I create files in unicode format without "byte order mark"?

    Hello together,
    I have to export files in UTF-8 format and have to send them to another partner system which works with linux as operating system.
    I have tried the different possibities to create files with ABAP. But nothing works 100% how I want.
    Some examples:
    1.)
    OPEN DATASET [filename] FOR OUTPUT IN TEXT MODE ENCODING UTF-8.
    If I create a file in this way and download it from application server to local system the result for file format in a unicode text edior like NotePad is "ANSI AS UTF-8". This means I have no BYTE ORDER MARK inside.
    But it is also possible that the file format is only ANSI if the file contains no "special characters", isn't it?
    In my test cases I create 3 files. 2 of them has format "ANSI AS UTF-8", and one only "ANSII".
    After transfer to Linux I get as result 2 times UTF8 and one time ASCII as file format.
    2.)
    OPEN DATASET [filename] FOR OUTPUT IN TEXT MODE ENCODING UTF-8 WITH BYTE ORDER MARK.
    With this syntax the result in local editor looks like ok. I get as format really "UTF-8".
    But I get problems with the system which receives the files.
    All files has the file format UTF-8 on Linux but the interface / script can not read the file with BYTE ORDER MARK.
    This is a very big problem for me.
    Do anybody of you know if it possible to force creation in UTF-8 without a BYTE ORDER MARK?
    This means more or less the first example but all files should have UTF-8 format!
    Thanks in advance
    Christian

    This means it is not possible to create a pure unicode file without the byte order mark?
    You wouldn't happen to know how a file with byte order mark should read on a Linux system?
    Or if this possible or not?
    Regards
    Christian

  • Export file from SAP can not open into seperate rows in excel

    Dear all,
    When I export data from SAP to .XLS file (With Unicode) and open with MS Excel.
    The data in file show with single line and it is not seperate as rows in excel.
    How can I solve this issue? It is occure this error in some laptop.
    Regards,
    Pannee

    The data in file show with single line and it is not seperate as rows in excel.
    Do you mean you are not able to see multiple columns? If that is the case use text to column from excel's data menu and give a try.

  • How to save a file in unicode (UTF-8)

    Hello,
    I'm trying to save a xml file in unicode (UTF-8) in a 4.6C system. I tried the OPEN DATASET 'file' IN TEXT MODE FOR OUTPUT ENCODING UTF-8 but this is not available in 4.6C. Does anybody have an idea how to do this?
    Thanks in advance
    Kind regards
    Roel

    Hi Roel,
    There is a workaround for this issue.
    Use code below:
    encoding = 'utf-8'.
      data: codepage            type cpcodepage.
      call function 'SCP_CODEPAGE_BY_EXTERNAL_NAME'
        exporting
          external_name = encoding
        importing
          sap_codepage  = codepage
        exceptions
          not_found     = 1
          others        = 2.
      if sy-subrc <> 0.
      endif.
      call function 'SCP_TRANSLATE_CHARS'
        exporting
          inbuff           = sourcedata_xml
          inbufflg         = length
          incode           = codepage
          outcode          = codepage
          substc_space     = 'X'
          substc           = '00035'
        importing
          outbuff          = custom_data
        exceptions
          invalid_codepage = 1
          internal_error   = 2
          cannot_convert   = 3
          fields_bad_type  = 4
          others           = 5.
    Now write this custom_data onto application server by using open dataset and transfer.
    Also have a look at this weblog, there is a code sample in it.
    /people/thomas.jung3/blog/2004/08/31/bsp-150-a-developer146s-journal-part-x--igs-charting
    Hope it'll help.
    Cheers
    Ankur

  • Bad export file

    Hello,
    I have a problem exporting my applicaton. After exporting (file format:DOS, build status: run & bild, debugging:yes, export object definition:yes, export comments:yes, file character set: Unicode UTF-8) I get file wich is not complete. It's simply broken before logical end of normal export file. Appex version is 3.1.2.00.02 . Here is the end of my export file:
    --application/shared_components/security/authentication/hera_auth_scheme
    prompt ......scheme 22865111567649335
    begin
    declare
    s1 varchar2(32767) := null;
    s2 varchar2(32767) := null;
    s3 varchar2(32767) := null;
    s4 varchar2(32767) := null;
    s5 varchar2(32767) := null;
    begin
    s1 := null;
    s2 := null;
    s3 := null;
    s4:=s4||'return pck_apex.custom_auth'||chr(10)||
    s5 := null;
    wwv_flow_api.create_auth_setup (
    p_id=> 22865111567649335 + wwv_flow_api.g_id_offset,
    p_flow_id=> wwv_flow.g_flow_id,
    p_name=> 'HERA_AUTH_SCHEME',
    p_description=>'auth. sch.',
    p_page_sentry_function=> s1,
    p_sess_verify_function=> s2,
    p_pre_auth_process=> s3,
    p_auth_function=> s4,
    p_post_auth_process=> s5,
    p_invalid_session_page=>'101',
    p_invalid_session_url=>'',
    p_cookie_name=>'',
    p_cookie_path=>'',
    p_cookie_domain=>'',
    p_ldap_host=>'',
    p_ldap_port=>'',
    p_ldap_string=>'',
    p_attribute_01=>'',
    p_attribute_02=>'wwv_flow_custom_auth_std.logout?p_this_flow=&APP_ID.&amp;p_next_flow_page_sess=&APP_ID.:101',
    p_attribute_03=>'',
    p_attribute_04=>'',
    p_attribute_05=>'',
    p_attribute_06=>'',
    p_attribute_07=>'',
    p_attribute_08=>'',
    p_required_pa
    Did somebody have such a problem and resolve them?
    Thanks

    Scott,
    that's complete dads.conf file:
    # ============================================================================
    # mod_plsql DAD Configuration File
    # ============================================================================
    # 1. Please refer to dads.README for a description of this file
    # ============================================================================
    # Note: This file should typically be included in your plsql.conf file with
    # the "include" directive.
    # Hint: You can look at some sample DADs in the dads.README file
    # ============================================================================
    Alias /i/ "C:/oracle/http/Apache/images/"
    AddType text/xml xbl
    AddType text/x-component htc
    <Location /pls/apex>
    Order deny,allow
    PlsqlDocumentPath docs
    AllowOverride None
    PlsqlDocumentProcedure wwv_flow_file_mgr.process_downloadd
    PlsqlDatabaseConnectString appserver:1521:orcl ServiceNameFormat
    PlsqlNLSLanguage AMERICAN_AMERICA.AL32UTF8
    PlsqlAuthenticationMode Basic
    SetHandler pls_handler
    PlsqlDocumentTablename wwv_flow_file_objects$
    PlsqlDatabaseUsername APEX_PUBLIC_USER
    PlsqlDefaultPage apex
    PlsqlDatabasePassword my_pwd
    PlsqlRequestValidationFunction wwv_flow_epg_include_modules.authorize
    Allow from all
    </Location>
    Ivica

  • Export DB for Unicode conversion by SAPInst for distributed System

    Hi,
    In a distributed SAP system (CI and DB on separate host),
    (1) I run SAPInst to export DB for unicode conversion via system copy option in DB host. After the parameter input up to General Unload settings e.g. Unicode Target system ? Yes, Parallel import/export ? No
    The following warning/error occurred and drive K:\usr\sap\MD3 is located at CI host.
    How to solve it?
    WARNING 2007-09-04 22:53:39
    Execution of the command "K:\JDKRoot\bin\java.exe -classpath K:\usr\sap\MD3\SYS\global\sltools\sharedlib\launcher.jar -showversion -Xmx256m com.sap.engine.offline.OfflineToolStart com.sap.sl.ut.manager.UtlMain
    ebpshd01/sapmnt/MD3/SYS/global/security/lib/tools;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/sap.comsl.ut.infoprovider_lib.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/sap.comsl.ut.manager.offline.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/antlr.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/exception.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/jddi.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/logging.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/offlineconfiguration.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/opensqlsta.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/tc_sec_secstorefs.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/sap.comtcsdtcvlimpl.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/SDMutil.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/SLUtil.jar;K:/usr/sap/MD3/SYS/exe/nuc/NTAMD64/mssjdbc/base.jar;K:/usr/sap/MD3/SYS/exe/nuc/NTAMD64/mssjdbc/util.jar;K:/usr/sap/MD3/SYS/exe/nuc/NTAMD64/mssjdbc/sqlserver.jar;K:/usr/sap/MD3/SYS/exe/nuc/NTAMD64/mssjdbc/spy.jar -export -type=keydb "-expfile=D:/Program Files/sapinst_instdir/NW04S/LM/COPY/MSS/EXP/DISTRIBUTED/AS/EXPDB/usages_data.xml" -log=UTL_load_usages.log -sid=MD3 -dsn=jdbc/pool/MD3 -ssprops=K:/usr/sap/MD3/SYS/global/security/data/SecStore.properties -ssk=K:/usr/sap/MD3/SYS/global/security/data/SecStore.key" finished with return code 1. Output:
    java version "1.4.2_12"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_12-b03)
    Java HotSpot(TM) 64-Bit Server VM (build 1.4.2_12-b03, mixed mode)
    java.lang.NoClassDefFoundError: com/sap/engine/offline/OfflineToolStart
    ERROR 2007-09-04 22:53:39
    CJS-30074  Execution of UTL tool 'K:\JDKRoot\bin\java.exe -classpath K:\usr\sap\MD3\SYS\global\sltools\sharedlib\launcher.jar -showversion -Xmx256m com.sap.engine.offline.OfflineToolStart com.sap.sl.ut.manager.UtlMain
    ebpshd01/sapmnt/MD3/SYS/global/security/lib/tools;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/sap.comsl.ut.infoprovider_lib.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/sap.comsl.ut.manager.offline.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/antlr.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/exception.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/jddi.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/logging.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/offlineconfiguration.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/opensqlsta.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/tc_sec_secstorefs.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/sap.comtcsdtcvlimpl.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/SDMutil.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/SLUtil.jar;K:/usr/sap/MD3/SYS/exe/nuc/NTAMD64/mssjdbc/base.jar;K:/usr/sap/MD3/SYS/exe/nuc/NTAMD64/mssjdbc/util.jar;K:/usr/sap/MD3/SYS/exe/nuc/NTAMD64/mssjdbc/sqlserver.jar;K:/usr/sap/MD3/SYS/exe/nuc/NTAMD64/mssjdbc/spy.jar -export -type=keydb "-expfile=D:/Program Files/sapinst_instdir/NW04S/LM/COPY/MSS/EXP/DISTRIBUTED/AS/EXPDB/usages_data.xml" -log=UTL_load_usages.log -sid=MD3 -dsn=jdbc/pool/MD3 -ssprops=K:/usr/sap/MD3/SYS/global/security/data/SecStore.properties -ssk=K:/usr/sap/MD3/SYS/global/security/data/SecStore.key' aborts with return code 1.<br>Check 'UTL_load_usages.log' and 'D:/Program Files/sapinst_instdir/NW04S/LM/COPY/MSS/EXP/DISTRIBUTED/AS/EXPDB/UTL.java.log' for more information.
    ERROR 2007-09-04 22:53:39
    FCO-00011  The step getUsageTypes with step key |NW_Export|ind|ind|ind|ind|0|0|NW_Java_Export_Dialog|ind|ind|ind|ind|5|0|getUsageTypes was executed with status ERROR .
    (2) I run Table Splitting Preparation  in CI host by SAPInst before using DB export option, there are some files generated under the respective folder of sapinst_instdir. Will these files in CI be used when running SAPinst in DB host for DB export option? Is it required to move these files to DB host ? which is the target location if necessary ?
    Regards,
    Ricky Chan

    === Reformated it and added further information ===
    Hi,
    In a <b>distributed</b> (CI and DB on separate host) SAP system NW 7.0 ABAP+JAVA usage type MI ,
    (1) I run SAPInst to <b>export DB for unicode conversion via system copy option</b> in <u>DB host</u>. After the parameter input screen up to <u>"General Unload settings"</u> e.g. Unicode Target system ? Yes, Parallel import/export ? No
    The following warning/error occurred and drive K:\usr\sap\MD3 is <b>only located at CI host. No such folder in DB host as no SAP instance was installed in it</b>.
    ============ sapins_dev.log ============
    WARNING 2007-09-04 22:53:39 Execution of the command "K:\JDKRoot\bin\java.exe -classpath K:\usr\sap\MD3\SYS\global\sltools\sharedlib\launcher.jar -showversion -Xmx256m com.sap.engine.offline.OfflineToolStart com.sap.sl.ut.manager.UtlMain
    ebpshd01/sapmnt/MD3/SYS/global/security/lib/tools;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/sap.comsl.ut.infoprovider_lib.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/sap.comsl.ut.manager.offline.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/antlr.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/exception.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/jddi.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/logging.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/offlineconfiguration.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/opensqlsta.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/tc_sec_secstorefs.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/sap.comtcsdtcvlimpl.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/SDMutil.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/SLUtil.jar;K:/usr/sap/MD3/SYS/exe/nuc/NTAMD64/mssjdbc/base.jar;K:/usr/sap/MD3/SYS/exe/nuc/NTAMD64/mssjdbc/util.jar;K:/usr/sap/MD3/SYS/exe/nuc/NTAMD64/mssjdbc/sqlserver.jar;K:/usr/sap/MD3/SYS/exe/nuc/NTAMD64/mssjdbc/spy.jar -export -type=keydb "-expfile=D:/Program Files/sapinst_instdir/NW04S/LM/COPY/MSS/EXP/DISTRIBUTED/AS/EXPDB/usages_data.xml" -log=UTL_load_usages.log -sid=MD3 -dsn=jdbc/pool/MD3 -ssprops=K:/usr/sap/MD3/SYS/global/security/data/SecStore.properties -ssk=K:/usr/sap/MD3/SYS/global/security/data/SecStore.key" finished with return code 1. Output: java version "1.4.2_12" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_12-b03) Java HotSpot(TM) 64-Bit Server VM (build 1.4.2_12-b03, mixed mode) java.lang.NoClassDefFoundError: com/sap/engine/offline/OfflineToolStart
    ERROR 2007-09-04 22:53:39 CJS-30074 Execution of UTL tool 'K:\JDKRoot\bin\java.exe -classpath K:\usr\sap\MD3\SYS\global\sltools\sharedlib\launcher.jar -showversion -Xmx256m com.sap.engine.offline.OfflineToolStart com.sap.sl.ut.manager.UtlMain
    ebpshd01/sapmnt/MD3/SYS/global/security/lib/tools;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/sap.comsl.ut.infoprovider_lib.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/sap.comsl.ut.manager.offline.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/antlr.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/exception.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/jddi.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/logging.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/offlineconfiguration.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/opensqlsta.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/tc_sec_secstorefs.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/sap.comtcsdtcvlimpl.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/SDMutil.jar;K:/usr/sap/MD3/SYS/global/sltools/sharedlib/SLUtil.jar;K:/usr/sap/MD3/SYS/exe/nuc/NTAMD64/mssjdbc/base.jar;K:/usr/sap/MD3/SYS/exe/nuc/NTAMD64/mssjdbc/util.jar;K:/usr/sap/MD3/SYS/exe/nuc/NTAMD64/mssjdbc/sqlserver.jar;K:/usr/sap/MD3/SYS/exe/nuc/NTAMD64/mssjdbc/spy.jar -export -type=keydb "-expfile=D:/Program Files/sapinst_instdir/NW04S/LM/COPY/MSS/EXP/DISTRIBUTED/AS/EXPDB/usages_data.xml" -log=UTL_load_usages.log -sid=MD3 -dsn=jdbc/pool/MD3 -ssprops=K:/usr/sap/MD3/SYS/global/security/data/SecStore.properties -ssk=K:/usr/sap/MD3/SYS/global/security/data/SecStore.key' aborts with return code 1.
    Check 'UTL_load_usages.log' and 'D:/Program Files/sapinst_instdir/NW04S/LM/COPY/MSS/EXP/DISTRIBUTED/AS/EXPDB/UTL.java.log' for more information.
    ERROR 2007-09-04 22:53:39 FCO-00011 The step getUsageTypes with step key |NW_Export|ind|ind|ind|ind|0|0|NW_Java_Export_Dialog|ind|ind|ind|ind|5|0|getUsageTypes was executed with status ERROR .
    ============
    The content of file UTL.java.log:
    java version "1.4.2_12"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_12-b03)
    Java HotSpot(TM) 64-Bit Server VM (build 1.4.2_12-b03, mixed mode)
    java.lang.NoClassDefFoundError: com/sap/engine/offline/OfflineToolStart
    =============
    File 'UTL_load_usages.log' does not exist in the sapinst_dir folder.
    (2) I run Table Splitting Preparation in CI host by SAPInst before using DB export option, there are some files generated under the respective folder of sapinst_instdir.
    Will these files in CI be used automatically when running SAPinst in DB host for DB export option?
    Is it required to move these files to DB host manually? Which is the target location if necessary ?
    (3) Any guide with detail on the preparation of tool or files in a standalone DB host prior to Export DB from it with SAPInst.
    Regards,
    Ricky Chan

  • SAVING FILES AS  UNICODE TEXT / XML / M3U / M3U8

    HI, unable to find a clear explaination for what saving a file as UNICODE TEXT / XML / M3U / M3U8  is all about .... I want to archive and EXPORT music from I tunes to a external memory or a flash drive when I use the EXPORT option from the PLAYLIST I created.  Now I have 4 formats to save with  UNICODE TEXT / XML / M3U / M3U8   I want too save all the info of that particular song stored with I tunes (gendre, EQ, BPM, notes)   the reason I'm using EXPORT is I want to remove the songs from my library after EXPORTING the song. Is there another way to TRANSFER music with all the saved info 

    I suggest you engade Wikipedia and Webopida, do some export experimentation and don't delete anything unless you have a few backups and sure of the results.
    http://www.webopedia.com/
    Most commonly used backup methods
    You might be exporting the playlist itself, the songs are not included.
    You can apply tags and groupings to the song files themselves that get transferred with the song file, to whereever it goes.
    You'l lhave to play around and learn yourself or read a online iTunes instruction manual.
    We are here to solve supoprt related issues, not engage in a huge educational endeavor.

  • Export file is not a valid HTMLDB export file

    Hi All,
    I have a serious problem today when i want to import the exported application file to another workspace in other machine.Both workspace have same name & same schema in which application resides.I got the messages "export file is not a valid HTMLDB export file" .I have search thru the forum and have got several possibly solution.But i want to know what should be done to successfully build the application.Even after exporting file from different workspace and diff name from diff machine still i got the same error message.
    Any Ideas ?
    Thanks in advance ,
    Cheers,
    Eman

    I export an application resides in workspace HTMLDB_W in APP_OWN schema in database A version 9.2.0.1 and import that application to HTMLDB_W1 in APP_OWN schema
    in database B version 9.2.0.5.Both database have HTMLDB version 1.6.1.02.when importing file the files are successfully imported but after click on Install the "Application Install"
    region appears.Here the information shows below.....
    Logged Into Workspace: HTMLDB_W1
    Export File WorkspaceID:
    Export File Application:
    Export File Version:
    Export File Parse As Schema:
    Application Origin: This application was exported from another workspace.
    Parse As Schema :APP_OWN
    i select Run & build application then reuse my application ID .
    There is no other application in the same schema & workspace of same application ID.Also when export the file the Character set is Unicode -UTF & while importing i choose the same character set in DOS format.I change the options later but nothing helps me......
    I think since the export file version & workspace id cant detectable so the application fails with following error message ::
    1 error has occurred
    File is not a valid HTML DB application export file.
    Previously i use the same workspace later i changed the workspace so now the export & import workspace is different & import workspace ID: 658006861199719
    export file workspace ID : 689311213291671
    If need more information please revert back to me.
    Regards,
    Eman

  • Exporting accented characters (Unicode) in metadata

    Hi,
    I wrote a little script to export the metadata to an xml file. I am having some problems where the tags contain accented characters (áéö etc.).
    I managed to write the xml file with unicode encoding and the unicode characters contained in the script are transferred correctly.
    However the special characters in the metadata tags are being transformed to some unreadable characters.
    Is there any way to make sure these characters are transferred correctly?
    Thank you
    Balint

    David,
    Thank you for the help.
    I tried setting the output file encoding to UTF-8 or UTF-16, with or without setting the BOM. The accented characters still come out unreadable. I tried the examples that came with the SDK (output set to the console) and they too scramble the accented characters.
    In other cases, where using the iterator function, the fields that contain accented characters are completely ignored.
    Finally i found the .rawData function in Photoshop that could export the accented characters. This is a much slower solution, because Photoshop has to open all the files to read the metadata.
    I also experimented with my own XML files in Bridge. I can open these, do my transformations, save them and all the characters are well preserved.
    Balint

  • Error During INSTALL of Application Export File

    An error is reported during INSTALL of an application that I am trying to copy (Import/Install) from a "development" Work Space into a "production" Work Space. The production (target) Work Space is on the same HTML DB instance as the development Work Space.
    I am receiving the following INSTALL error:
    ORA-20001: GET_BLOCK Error. ORA-20001: GET_STMT error. ORA-20001: Execution of the statement was unsuccessful. ORA-06550: line 15, column 1: PLS-00103: Encountered the symbol &amp;quot;,'39','RD8','8','S','10','U','43','UD','41','UG','11','W')) END)&amp;quot; when expecting one of the following: . ( * @ % &amp;amp; = - + ; &amp;lt; / &amp;gt; at in is mod remainder not rem &amp;lt;an exponent (**)&amp;gt; &amp;lt;&amp;gt; or != or ~= &amp;gt;= &amp;lt;=
    Following is some pertinent (hopefully) information:
    The above INSTALL error takes exception to part of a Region Select (sql) that works fine in the development Work Space.
    The common HTML DB (v1.6) instance is on UNIX.
    A new Work Space was created on the same instance.
    A new schema name was created during creation of the new Work Space. However, this schema does not point to a database. (We were not certain how to setup the schema to parse to our live database.) I will be running DBLINK upon production application startup in order to access the database objects.
    EXPORT INFO -
    File Format: UNIX (also, tried DOS but received same error during INSTALL)
    IMPORT INFO -
    File Type: Application/Page Export
    File Character Set: Western European Windows 1252
    Target Work Space is newly created on the same HTML DB instance.
    INSTALL INFO -
    *Parse As Schema: COLLIVE17 (Again, this schema does not parse to a database. I intend to use DBLINK.)
    *Build Status: Run and Build Application
    Please refer to above error message.
    Again, any insights or suggestions are appreciated.

    Urgently need help! I've read several other Forum messages having a related problem but none having same Install error message.
    Again, my Export/Import from development Workspace to production Workspace is successful. The following error is reported when I attempt to "Install" into the production Workspace:
    ORA-20001: GET_BLOCK Error. ORA-20001: GET_STMT error. ORA-20001: Execution of the statement was unsuccessful. ORA-06550: line 15, column 1: PLS-00103: Encountered the symbol &amp;quot;,'39','RD8','8','S','10','U','43','UD','41','UG','11','W')) END)&amp;quot; when expecting one of the following: . ( * @ % &amp;amp; = - + ; &amp;lt; / &amp;gt; at in is mod remainder not rem &amp;lt;an exponent (**)&amp;gt; &amp;lt;&amp;gt; or != or ~= &amp;gt;= &amp;lt;=
    The "snippet" of Region Sql Select code that relates to the reported error is:
    ELSE htmldb_item.display_and_save (5, DECODE (GET_GRADE_B93 (sac.stc_final_grade,sac.stc_verified_grade),'18','AU','1','A','3','B','4','C','7','CR','5','D','46','DR','6','F','47','FW','49','IB','30','IC','31','ID','23','IF','44','MW','9','NC','21','RD','14','RD0','33','RD1','32','RD2','34','RD3','35','RD4','36','RD5','37','RD6','38','RD7','39','RD8','8','S','10','U','43','UD','41','UG','11','W'),'GRADE_'||ROWNUM) END q_v_grade,
    HTML DB version is: 1.6.0.00.67. I've also tried to Export/Import/Install the application into the "same" Workspace specifying the same schema, and only changing the Application ID. However, I get the same Install error (see above).
    Any suggestions on things to try in order to get application into production is greatly appreciated.
    Thanks, Bernard.

  • Unable to Open unix file in UNICODE system which created NON-UNICODE system

    Unable to Open unix file in UNICODE system which created in NON-UNICODE system
    We have two SAP systems both are ECC6.0 but System 1 is NON-Unicode and System2 is Unicode system.
    There is a common unix directory/folder for both system.
    Our requirement is to create one file on unix common folder and write the data to file from system1 .
    In system2 open the same file for appending mode to write the data .
    The file in system 1 created with below sentence.
    OPEN DATASET g_unix_file FOR OUTPUT IN TEXT MODE ENCODING UTF-8.
    Now I have to append the data from system 2 to same file.
    I have tried to used below statement in system 2 to open the file but sy-subrc value comes as '8'.
    1> OPEN DATASET g_unix_file FOR APPENDING IN TEXT MODE ENCODING UTF-8.
    2>OPEN DATASET g_unix_file FOR APPENDING IN legacy TEXT MODE CODE PAGE
    cdp IGNORING CONVERSION ERRORS  .
    3>OPEN DATASET g_unix_file FOR APPENDING IN TEXT MODE ENCODING Default.
    4>OPEN DATASET g_unix_file FOR APPENDING IN TEXT MODE ENCODING NON-UNICODE.
    Tried out all the possibilities as per F1 help given for open dataset , but still there is problem with opn file in appending as well output mode.However the file successfully open in Input mode(Read).
    Please advice suggestion to resolve this issue.
    Thanks.

    Messgae captured as 'Permission Denied". The program gets triggered with system user Id PPID.
    How to check the security access of the User ID.

  • Lightroom 5 cannot export files in original Raw format (LR 5.4, Mac, OS 10.9.4).

    A client has the following problem: When trying to export files in the original Raw format (.CR2), the operation failed and a dialog informs us that "Some export operations were not performed". We can export JPEGs just fine.
    After lots of testing, this is what we discovered:  The problem does not appear to be catalog-based; we run into the same problem using a test catalog.  The export operation works fine, however, with the same test catalog and images on two other machines, and it even works fine on the same machine with a new user admin account that we created. 
    So it appears to be something associated with the user account, , or with how LR is interacting with the user account, but I cannot figure out what it might be. We can copy the Raw files when using the Finder to do so. But not via Lightroom.  Any thoughts, ideas of suggestion would be greatly appreciated!  Thanks, Sean

    As part of your testing make sure you've tried exporting JPGs from the same folder as the CR2s you're exporting as original, and export JPGs from CR2s to the same folder as you're exporting your originals.  This would test LR's read and write permissions from and to the folders being used.
    From this document you can see that all the LR files other than the program, are under the /Users folder with different values possible for each user, so the difference could be that the users that work are using the original LR defaults, if you have just started using LR with them after you started having this problem, or at least that the user with the problem has some oddball settings that are interfering with Export as Original.
    Preference and other file locations in Lightroom 5
    You can test for the Preferences being off by either copying the preferences from a user that has the problem to a user that doesn't have the problem--probably through an external or common folder, or be deleting the preferences file from the user that has the problem and see if it resolves.  Moving the preferences file or renaming it may be better than deleting it if no change is seen, then you can restore the preferences back by moving or renaming the file back to the original location and name.

  • HOW TO REMOVE HYPHEN IN LAYER COMP EXPORT FILE

    HOW TO REMOVE HYPHEN IN LAYER COMP EXPORT FILE IN PNG FORMAT...

    I ususally do that type of thing with a state machine... read a token, look for what is next, and if it's the closing token, I don't write it out. You have well defined opening token syntax and closing token syntax, so it should be relatively easy.

  • Schema Import failed :IMP-00008: unrecognized statement in the export file:

    Hi ,
    I was running a database schema import from a database DMP file.
    I encountered the following error in the log file that was getting generated :
    IMP-00008: unrecognized statement in the export file:
    All the tables got copied except for one. Now what I have thought of is to import that one table again after taking an export from the prod schema.
    But what about the functions,triggers,procedures ?? How do i bring all of them in the schema ?
    If reimporting the schema again the only option ?
    Thanks
    Kk

    Hello,
    In this order:
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/exp_imp.htm#i1023988
    Table Objects: Order of Import
    Table objects are imported as they are read from the export file. The export file contains objects in the following order:
    1. Type definitions
    2. Table definitions
    3.Table data
    4.Table indexes
    5. Integrity constraints, views, procedures, and triggers
    6. Bitmap, function-based, and domain indexes
    The order of import is as follows: new tables are created, data is imported and indexes are built, triggers are imported, integrity constraints are enabled on the new tables, and any bitmap, function-based, and/or domain indexes are built. This sequence prevents data from being rejected due to the order in which tables are imported. This sequence also prevents redundant triggers from firing twice on the same data (once when it is originally inserted and again during the import).
    For example, if the emp table has a referential integrity constraint on the dept table and the emp table is imported first, all emp rows that reference departments that have not yet been imported into dept would be rejected if the constraints were enabled.
    When data is imported into existing tables, however, the order of import can still produce referential integrity failures. In the situation just given, if the emp table already existed and referential integrity constraints were in force, many rows could be rejected.
    A similar situation occurs when a referential integrity constraint on a table references itself. For example, if scott's manager in the emp table is drake, and drake's row has not yet been loaded, scott's row will fail, even though it would be valid at the end of the import.

  • Imp-00008: unrecognized statement in the export file

    Hi All,
    I am trying to import an export from Oracle 8.1.7 source system to Oracle 11.2 using imp . I am getting the following errors may times during the import process.
    imp-00008: unrecognized statement in the export file
    The character set of Source data base is WE8DEC and the character set of target data base is WE8MSWIN1252 and i get the below statement during the start of the import
    import done in US7ASCII character set and AL16UTF16 NCHAR character set
    import server uses WE8MSWIN1252 character set (possible charset conversion)
    export client uses WE8DEC character set (possible charset conversion)
    export server uses WE8DEC NCHAR character set (possible ncharset conversion)
    The error imp-00008: unrecognized statement in the export file is it due to the Oracle version compatibility or due to Character set compatibility issue.
    I tried to create a new Database on same Oracle sever and i cant find WE8DEC in the list of character set to choose. Please help me on how to proceed.
    Regards,
    alen.

    934571 wrote:
    Hi Srini,
    Data is getting loaded correctly, but i get several of these error imp-00008: unrecognized statement in the export file messages during the import process, so i am not sure what is missing.
    Pl post the complete error message from the import log file.
    1) Is it possible to import the dump exported form oracle 8 into oracle 11?? Do we need to take any special care during the import ??
    Yes - no special requirements are needed.
    2) The Oracale Database character set it WE8DEC, but when i try to create a new database in 11 , i dont find that character set , is the character set obsolete now , if so what character set is super set of WE8DEC ??
    Pl post exact OS and database versions. Ideally you should be using AL32UTF8 for all new databases. WE8DEC is a deprecated characterset.
    See section 4.2.1 here - http://docs.oracle.com/cd/E11882_01/install.112/e24186/install.htm#BABFDDEA
    Thanks,
    Alen.HTH
    Srini

Maybe you are looking for