Encoding in my Oracle 9.

Dear list.
a) How can I find out what character encoding is being used inside of our datbase, using Enterprise manager. I have tried looking under database initalisation parameters, but could only find things like NLS_language settings etc. (please dont tell me this is determined by locale...!)
b) is their a way of viewing "real" data inside of oracle, guaranteeing correct display. I realise this is probably a flawed questions. e.g When I use SQLplus on my machine to view the data it shows differently from that of Enterprise Manager.
c) I want to change our database to use utf-8. what would be the best way to change this setting? Do I have to re-install, or can I change this in the init.ora file ?
I would appreciate any adivce.
regards,
Ben Bookey

I assume this is a dumplicate of this thread: How can I determine which character encoding is being used internally? where I have posted a response.
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC

Similar Messages

  • Encode function in Oracle

    Hi,
    In MySQL while inserting data encode function can be used along with a user key to encode the data. Also decode function can be used to decode the data during selection. Is there any equivalent function available in Oracle for encoding and decoding.
    Please advice,
    Thanks,
    Smitha

    Only for your information. DECODE is not a function to encript or decrypt data. Decode is a comparation function. It is a other way to evaluate IF-THEN-ELSE condition.
    Bye, Aron

  • Encoding error using Oracle SAX Parser, please help

    Hi, All,
    I have problem while I am trying to parse an XML file using Oracle SAX Parser.
    The following is from the trace file:
    java.io.UTFDataFormatException: Invalid UTF8 encoding.
    java.io.UTFDataFormatException: Invalid UTF8 encoding.
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.io.IOException.<init>(Compiled Code)
    at java.io.UTFDataFormatException.<init>(Compiled Code)
    at oracle.xml.parser.v2.XMLUTF8Reader.checkUTF8Byte(Compiled Code)
    at oracle.xml.parser.v2.XMLUTF8Reader.readUTF8Char(Compiled Code)
    at oracle.xml.parser.v2.XMLUTF8Reader.fillBuffer(Compiled Code)
    at oracle.xml.parser.v2.XMLByteReader.saveBuffer(Compiled Code)
    at oracle.xml.parser.v2.XMLReader.fillBuffer(Compiled Code)
    at oracle.xml.parser.v2.XMLReader.tryRead(Compiled Code)
    at oracle.xml.parser.v2.XMLReader.scanXMLDecl(Compiled Code)
    at oracle.xml.parser.v2.XMLReader.pushXMLReader(Compiled Code)
    at oracle.xml.parser.v2.XMLReader.pushXMLReader(Compiled Code)
    at oracle.xml.parser.v2.XMLParser.parse(Compiled Code)
    at data_loader.main(Compiled Code)
    The XML file is a pure ascii text file, with encoding set to UTF-8.
    I can parse the file correctly on NT, but I got problem when I ran the code on a SUN solaris 2.6 machine.
    The parser version is 9.0.2.
    Thanks in advance.
    Peter

    You are right, I modified the codes and got it to work on Oracle
    But when I did your suggestion:
    <cftransaction>
      <cfstoredproc ...>
      <cfquery>
        SELECT ...
      </cfquery>
    </cftransaction>
    I got the same error as before which is:
    Error Executing Database Query.
    [Macromedia][Oracle JDBC Driver]Unhandled sql type
    But this time it points to the CF callling the str proc using cfprocparam
    Here is how I call the str. proc:
         <CFTRANSACTION>   
              <cfstoredproc procedure="MyReport" datasource="#Trim(application.dsn)#" returncode="True">  
                  <cfprocparam type="In" cfsqltype="CF_SQL_VARCHAR" variable="ins_name" value="#Trim(session.instname)#">
                  <cfprocparam type="In" cfsqltype="CF_SQL_VARCHAR" variable="aca_year" value="#Trim(ayr)#"> <------- POINT TO THIS LINE
              </cfstoredproc>
         </CFTRANSACTION>

  • Oracle XA driver problem with WLS 7.0.1.0, Oracle 9.0.1

    We are using simplified chinese, after swith to bea jdriver, it messed up
    all the encoding. So we cannot display Chinese character correctly.
    We are using WLS 7.0.1.0, Oracle 9.0.1 on both Windows and Solaris 8
    environment, BEA supplied JDK 1.3.1_03.
    We have many diffrent problems with oracle drivers:
    1. We want to use XA driver to support distributed transaction, However:
    * bea jdriver xa messes up with encoding
    * when using oracle 901 driver, everything works fince except webservices.
    Workshop application access the ejb, then the workshp application sets
    isolation level, but oracle driver does not support it and gives error. Is
    there a way to turn off isolation level in workshop? I tried manually edit
    weblogic-ejb-jar.xml, however,workshop cannot redeploy it after that.
    2. When not using XA, oracle thin driver works fine. But we lost XA
    capability.
    Any work around?

    I did try to change the value in this config file as well, but did not help.
    In fact, the installation default setting is with
    '<transaction-isolation-level>' commented out.
    And when I use bea oracle jdriver, it somehow messed up with database
    character set encoding, so our Chinese characters could not be retrieved
    correctly. And I try to set the encoding of jdriver to 'GBK', it did not
    work.
    "Anurag Pareek" <[email protected]> дÈëÏûÏ¢ÐÂÎÅ
    :[email protected]..
    Hello Ma,
    The transaction isolation level value for EJBs backing the JWS files is
    specified in the <transaction-isolation-level> tag in the
    WEB-INF/weblogic-jws-config.xml file of a Workshop project. You can
    manipulate this value to serve your purpose.
    Please do let me know how it goes.
    Regards,
    Anurag
    Workshop Support
    "Ma Jie" <[email protected]> wrote in message
    news:[email protected]..
    We are using simplified chinese, after swith to bea jdriver, it messed
    up
    all the encoding. So we cannot display Chinese character correctly.
    We are using WLS 7.0.1.0, Oracle 9.0.1 on both Windows and Solaris 8
    environment, BEA supplied JDK 1.3.1_03.
    We have many diffrent problems with oracle drivers:
    1. We want to use XA driver to support distributed transaction, However:
    * bea jdriver xa messes up with encoding
    * when using oracle 901 driver, everything works fince exceptwebservices.
    Workshop application access the ejb, then the workshp application sets
    isolation level, but oracle driver does not support it and gives error.Is
    there a way to turn off isolation level in workshop? I tried manuallyedit
    weblogic-ejb-jar.xml, however,workshop cannot redeploy it after that.
    2. When not using XA, oracle thin driver works fine. But we lost XA
    capability.
    Any work around?

  • Viewing Chinese Characters / Encoding setting in SQL Developer

    Hi all,
    I am new to SQL Developer 1.1. I have just downloaded the tool yesterday.
    I have a table where there "should" be chinese characters in a NVARCHAR2 column. But I see only inverted question marks when displaying that data in SQL Developer.
    I know from a ressource on the web, that SQL Developer is able to display chinese characters ( see http://awads.net/wp/2006/07/06/sql-developer-and-utf8/ ).
    The NLS_NCHAR_CHARACTERSET is set to AL16UTF16; the NLS_CHARACTER_SET is set to WE8ISO8859P1.
    The encoding under Tools->Preferences->Environment is set to "Cp1252".
    What is actually the influence of this Encoding setting and do I have to make changes to that to view the data?
    In addition I have to admit, that we actually do not really know if the data entered the DB correctly, that is as chinese characters. Maybe there have occured conversion errors that were made in a application that writes the data into the database. Actually I want to verify that. So, if I have the right settings configured which should be fine to see chinese characters and then I see only inverted question marks I can conclude that the data actually entered the database corrupted and the error is not an display issue with SQL Developer but rather an error in the application that writes the data to the database.
    Thanks to any answers in advance!
    Regards,
    Philipp Hinnah

    Hi,
    Am able to view chinese characters in VARCHAR2, FUNCTIONS & PROCEDURES.
    My Settings are :
    1. Developer encoding is X-ORACLE-AL32UTF8.
    2. Control Panel :
       Regional& Language Options:
                Standard & Format = English (US)
                Location                 = US
                Under Advanced = China (PRC)
            System :
                Environmental Varaibles
                  Variable Name  = NLS_LANG
                  Variable Value = SIMPLIFIED CHINESE_CHINA.ZHS16GBK 3. Windows Registry for oracle's NLS_LANG all using
    SIMPLIFIED CHINESE_CHINA.ZHS16GBK.
    4. Oracle database when creating using SIMPLIFIED CHINESE_CHINA.ZHS16GBK
    and AL32UTF8.
    HTH
    Zack

  • AQ Adapter:  Invalid UTF8 encoding.

    Hello,
    I am using the data type XMLType to enqueue data from a database to a BPEL process to integrate with other systems. We are using the AQ Adapter to receive messages from BPEL. For the most part it works, but when we are receiving multiple messages we receive less than expected. We break the result set from the query into 200 record blocks, and place those on the queue. Everything works great going to the queue. However, when the message is dequeued from BPEL, some messages fail with the error: Invalid UTF8 encoding.
    Environment:
    Oracle 10g Enterprise 10.2.0.4.0 - system nls_character_set is AL32UTF8
    Oracle SOA Suite 10.1.3.4
    Data: US English, no double byte languages - using VARCHAR2(BYTE) or VARCHAR2(CHAR) produces same results
    Below are the steps and code snipets we are executing:
    1)     Create XML base document
    <?xml version="1.0" encoding="UTF-8"?>
          <int:INTEGRATION xmlns:sfdc="http://xmlns.oracle.com/xdb/INT_AQADMIN">
          <DATA_SOURCE>' || data_source || '</DATA_SOURCE>
          <OBJECT_NAME>' || object_name || '</OBJECT_NAME>
          <MAP_ID>' || map_id || '</MAP_ID>
    </int:INT_INTEGRATION>2)     A query is run using DBMS_XMLGEN, i.e. select * from <table>, returned as XML (max of 200 records at a time),
    3)     Convert CLOB to XMLType
    4)     Append XML to base xml doc
    5)     Enqueue message
    Code excerpt:
                xml_base := xmltype(build_xml_base(data_source, object_name, map_id));  -- builds message listed above
                qryCtx :=  dbms_xmlgen.newContext (sql_query);
                DBMS_XMLGEN.setRowSetTag(qryCtx, XML_ROWSET_TAG);  -- <DATA>
                DBMS_XMLGEN.setRowTag(qryCtx, XML_ROW_TAG); -- <DATAITEM>
                DBMS_XMLGEN.setMaxRows(qryCtx, XML_MAX_RESULTSET_ROWS); -- 200
                DBMS_XMLGEN.setConvertSpecialChars(qryCtx, true);
                LOOP
                    -- save the XML into the CLOB result.
                    xmlgen_result :=  DBMS_XMLGEN.getXMLtype(qryCtx);
                    -- if no rows exist, exit prior to enqueuing data
                    EXIT WHEN DBMS_XMLGEN.getNumRowsProcessed(qryCtx) = 0;
                     select appendchildxml(xml_base,
                          '/int:INTEGRATION',
                          xmlgen_result,
                          'xmlns:int="http://xmlns.oracle.com/xdb/INT_AQADMIN"')
                    into xml_data from dual;
                    SFDC_AQADMIN.SFDC_INTEGRATION_QUEUE.ENQUEUE_SFDC_OBJECT (xml_data, correlation);
                END LOOP;When the procedure is run, the objects get placed on the queue fine. BPEL starts to dequeue the message from the queue. However, we do not get all of the messages.
    Looking at the BPEL logs describes the problem:
    <2009-10-27 10:49:16,264> <ERROR> <iCareTest.collaxa.cube.activation> <AQ Adapter::Inbound> MessageReader_ReadMessage: Problem while constructing XML document from Oracle Object payload: java.io.UTFDataFormatException: Invalid UTF8 encoding.
    <2009-10-27 10:49:16,264> <ERROR> <iCareTest.collaxa.cube.activation> <AQ Adapter::Inbound> java.io.UTFDataFormatException: Invalid UTF8 encoding. at oracle.xml.parser.v2.XMLUTF8Reader.checkUTF8Byte(XMLUTF8Reader.java:160) at oracle.xml.parser.v2.XMLUTF8Reader.readUTF8Char(XMLUTF8Reader.java:175) at oracle.xml.parser.v2.XMLUTF8Reader.fillBuffer(XMLUTF8Reader.java:120) at oracle.xml.parser.v2.XMLByteReader.saveBuffer(XMLByteReader.java:450) at oracle.xml.parser.v2.XMLReader.fillBuffer(XMLReader.java:2488) at oracle.xml.parser.v2.XMLReader.scanNameChars(XMLReader.java:1197) at oracle.xml.parser.v2.XMLReader.scanName(XMLReader.java:1910) at oracle.xml.parser.v2.NonValidatingParser.parseEndTag(NonValidatingParser.java:1358) at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1313) at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:336) at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:303) at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:291) at oracle.tip.adapter.aq.database.XMLEngine.stringToDOMSource(XMLEngine.java:324) at oracle.tip.adapter.aq.database.MessageReader.readMessage(MessageReader.java:478) at oracle.tip.adapter.aq.inbound.AQActivationSpecDequeuer.run(AQActivationSpecDequeuer.java:261) at oracle.tip.adapter.fw.jca.work.WorkerJob.go(WorkerJob.java:51) at oracle.tip.adapter.fw.common.ThreadPool.run(ThreadPool.java:280) at java.lang.Thread.run(Thread.java:595)
    The line below indicates the byte is not UTF-8
    Invalid UTF8 encoding. at oracle.xml.parser.v2.XMLUTF8Reader.checkUTF8Byte(XMLUTF8Reader.java:160)
    Has anyone seen this? It appears to be something with the AQ Adapter. I cannot see anything strange looking at the XML that is generated. Any help would be greatly appreciated.
    Thanks in advance,
    Jim

    Hi Mark,
    Please mail me your sample data with this character in that file. We can take this as a usecase for our testing team.

  • Insert Chinese data in Oracle but cannot be shown when querying

    I use:
    JDK 1.1.8, Oracle 8i, thin driver.
    The OS is HP Unix.
    I successfully insert the Chinese Big5 encoding data into Oracle. But I can't show the Chinese again when I querying.
    Here's my code:
    Class.forName("oracle.jdbc.driver.OracleDriver");
    con = DriverManager.getConnection
    ("jdbc:oracle:thin:@hpdev.wisers.com:1521
    :research", "corp", "corp");
    stmt = con.createStatement();
    String sqlString = new String("insert into filetable values(1,"
    + var1 + "," + var2 + "...)");
    stmt.executeQuery(sqlString);
    Then I show the result by "select * from filetable;". However, the Chinese Big5 encoding data cannot be shown, "+??.." is shown instead. There is no problem when the data is in English.
    I have tried
    byte[] sqlStringBytes = sqlString.getBytes("Big5");
    String newsql = new String(sqlStringBytes,"Big5");
    stmt.executeQuery(newsql);
    but still not successful.
    My NLS_LANG is
    AMERICAN_AMERICA.ZHT16BIG5
    How can I make use of this variable? How can I solve the problem?
    I am very in hurry. The program deadline is coming!! Help please!!
    null

    Your code looks fine ?
    What's your db character set ?
    I successfully insert the Chinese Big5 encoding data into Oracle.How do you know this ? Did you verify with SQL*Plus to see whether the data can be retrieved ?
    What are var1 and var2 ?

  • ODBC Connection to Postgres: Yet another encoding problem

    Hello, all!
    I have a dblink to Postgres server via ODBC. It works, but with national characters encoding issue.
    O/S: Oracle Linux 6.2 x86-64
    Oracle - Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    Oracle V$NLS_PARAMETERS:
    PARAMETER
    VALUE
    NLS_LANGUAGE
    AMERICAN
    NLS_TERRITORY
    AMERICA
    NLS_CURRENCY
    $
    NLS_ISO_CURRENCY
    AMERICA
    NLS_NUMERIC_CHARACTERS
    NLS_CALENDAR
    GREGORIAN
    NLS_DATE_FORMAT
    DD-MON-RR
    NLS_DATE_LANGUAGE
    AMERICAN
    NLS_CHARACTERSET
    CL8MSWIN1251
    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 TZR
    NLS_TIMESTAMP_TZ_FORMAT
    DD-MON-RR HH.MI.SSXFF AM TZR
    NLS_DUAL_CURRENCY
    $
    NLS_NCHAR_CHARACTERSET
    AL16UTF16
    NLS_COMP
    BINARY
    NLS_LENGTH_SEMANTICS
    BYTE
    NLS_NCHAR_CONV_EXCP
    FALSE
    unixODBC - downloaded latest version and installed manualy:
    $ odbcinst -j
    unixODBC 2.3.1
    DRIVERS............: /usr/local/etc/odbcinst.ini
    SYSTEM DATA SOURCES: /usr/local/etc/odbc.ini
    FILE DATA SOURCES..: /usr/local/etc/ODBCDataSources
    USER DATA SOURCES..: /usr/local/etc/odbc.ini
    SQLULEN Size.......: 8
    SQLLEN Size........: 8
    SQLSETPOSIROW Size.: 8
    Postgres driver - v09.02.010 dowloaded from postgresql.org and installed manually.
    odbcinst.ini:
    [PostgreSQL]
    Description     = ODBC for PostgreSQL
    Driver          = /usr/local/lib/psqlodbcw.so
    Setup           =
    Driver64        =
    Setup64         =
    FileUsage       = 1
    odbc.ini:
    [ARMKU]
    Description             = PostgreSQL
    Driver                  = PostgreSQL
    Trace                   = No
    TraceFile               =
    Database                = postgres
    Servername              = 10.11.11.111
    Username                = ges
    Password                = password
    Port                    = 5432
    Protocol                =
    ReadOnly                = Yes
    RowVersioning           =
    ShowSystemTables        = Yes
    ShowOidColumn           =
    FakeOidIndex            =
    ConnSettings            =
    initARMKU.ora:
    # This is a sample agent init file that contains the HS parameters that are
    # needed for the Database Gateway for ODBC
    # HS init parameters
    HS_FDS_CONNECT_INFO=ARMKU
    HS_FDS_TRACE_LEVEL=DEBUG
    HS_FDS_SHAREABLE_NAME=/usr/local/lib/libodbc.so
    HS_NLS_NCHAR= UCS2
    HS_LANGUAGE=AMERICAN_AMERICA.CL8MSWIN1251
    # ODBC specific environment variables
    set ODBCINI=/usr/local/etc/odbc.ini
    # Environment variables required for the non-Oracle system
    #set <envvar>=<value>
    Postgres psql utility returns:
    Password for user ges:
    psql (8.4.13, server 8.4.8)
    Type "help" for help.
    postgres=> \l
                                              List of databases
       Name    |  Owner   | Encoding |      Collation      |        Ctype        |   Access privileges
    -----------+----------+----------+---------------------+---------------------+-----------------------
    postgres  | postgres | UTF8     | Russian_Russia.1251 | Russian_Russia.1251 | postgres=CTc/postgres: ges_group=Tc/postgres
    template0 | postgres | UTF8     | Russian_Russia.1251 | Russian_Russia.1251 | =c/postgres: postgres=CTc/postgres
    template1 | postgres | UTF8     | Russian_Russia.1251 | Russian_Russia.1251 | =c/postgres: postgres=CTc/postgres
    (3 rows)
    postgres=> \encoding
    UTF8
    So, i can read tables from Postgres database, but i can't translate russian symbols from postgres's UTF8 encoding to my CL8MSWIN1251:
    SQL> SELECT "name" FROM "node_area"@armku;
    name
    ├ырт▌эхЁую╤с√Є (╤╙▌╩-╩Ёрёэю Ёёъ_╨рчЁхч ┴юЁюфшэёъшщ)-╩Ёрёэю Ёёъ¤эхЁуюcс√Є
    ├ырт▌эхЁую╤с√Є (╤╙▌╩-╩Ёрёэю Ёёъ_╨рчЁхч ┴юЁюфшэёъшщ)-╩Ёрёэю Ёёъ¤эхЁуюcс√Є_├Ё.ь.╥╧
    ╤╙▌╩-╩Ёрёэю Ёёъ_╨рчЁхч ┴юЁюфшэёъшщ
    ├ырт▌эхЁую╤с√Є (╤╙▌╩-╩єчсрёё_╧╤ ═ютюыхэшэёър ,╧юы√ёрхтёър )-╩єчсрёё¤эхЁуюёс√Є
    ├ырт▌эхЁую╤с√Є (╤╙▌╩-╩єчсрёё_╧╤ ═ютюыхэшэёър ,╧юы√ёрхтёър )-╩єчсрёё¤эхЁуюёс√Є_├Ё
    .ьры.╥╧
    XML ├ырт▌эхЁую╤с√Є
    ├ырт▌эхЁую╤с√Є (─ры№ЄЁрэёєуюы№)-╘╤╩ ┼▌╤ ╠▌╤ ┬юёЄюър (╒рсрЁютёъюую ъЁрщ)
    ├ырт▌эхЁую╤с√Є (─ры№ЄЁрэёєуюы№)-╘╤╩ ┼▌╤ ╠▌╤ ┬юёЄюър (╒рсрЁютёъюую ъЁрщ)_01.02.20
    13
    If i change HS_LANGUAGE parameter to UTF16, i can import them in nvarchar2 properly, but it's not what i need.
    Please help!

    Not sure if that hack will work:
    set in the odbc.ini within the Postgres DSN:
    ConnSettings
    =SET CLIENT_ENCODING to 'ASCII'
    Maybe it will then maps youe Unicode Postgres during connection handshake to 8bit characters.
    But that's really just a hack without any guarantee that it will work because your Postgres database is using UTF-8 encoding and your Oracle database is using CL8 character set. So You can't import them into varchar2. This will only work with a Unicode Oracle database character set, else it needs to map  the PostgreSQL columns to a nvarchar.
    - Klaus

  • ISO-8859-1 / Invalid UTF8 encoding

    Hello!
    I have nearly the same problem like V Prakash (ISO8859 & UTF 8
    default encoding)
    I am parsing a XML-Document with ISO-8859-1 encoding. The file
    has no XML-Declaration.
    I use the "setEncoding(String)"-method of class
    oracle.xml.parser.v2.XMLDocument to set the right encoding.
    The result is a
    java.io.UTFDataFormatException: Invalid UTF8 encoding
    What's wrong with my code or is it a bug in Oracle XMLParser
    v2.0.0.2 ?
    Thanks
    Peter
    null

    Attachments: "1|type=application/octet-stream|desc=UTF-8 Encoding Error|2719|file=epm00001.xml|"
    Interesting...again, the web page said I didn't have permission.
    Here goes nothing...
    Oracle XML Team wrote:
    : Scott Sosna (guest) wrote:
    : : No go...I'm going to try to attach the files, but the last
    : time
    : : I tried to do so, it didn't work.
    : : Oracle XML Team wrote:
    : : : Scott Sosna (guest) wrote:
    : : : : Here's the test case you wanted.
    : : : : <!ELEMENT B (#PCDATA|PERF)*>
    : : : : <!ELEMENT I (#PCDATA|ALBUM|RATING|B)*>
    : : : : <!ELEMENT P (#PCDATA|B|I|RATING)*>
    : : : : <!ELEMENT EPM (ARTICLE*)>
    : : : : <!ELEMENT ARTICLE
    : : : : (HEADWORD,BIOGRAPHY,
    : : : (DISCOGRAPHY|VIDEOGRAPHY|BIBLIOGRAPHY|FILMOG
    : : : : RAPHY|COMPILATIONS)*,COPYRIGHT)>
    : : : : <!ATTLIST ARTICLE Performer CDATA
    #IMPLIED>
    : : : : <!ATTLIST ARTICLE ArtID CDATA #IMPLIED>
    : : : : <!ELEMENT HEADWORD (P)>
    : : : : <!ELEMENT BIOGRAPHY (#PCDATA|P)*>
    : : : : <!ELEMENT DISCOGRAPHY (I|P)*>
    : : : : <!ELEMENT COPYRIGHT (P)>
    : : : : <!ELEMENT PERF (#PCDATA)>
    : : : : <!ATTLIST PERF LINK CDATA
    #REQUIRED>
    : : : : <!ELEMENT ALBUM (#PCDATA|B)*>
    : : : : <!ATTLIST ALBUM LINK CDATA
    #REQUIRED>
    : : : : <!ELEMENT RATING (#PCDATA)*>
    : : : : <!ATTLIST RATING rank CDATA
    #REQUIRED>
    : : : : <!ATTLIST RATING text CDATA
    #REQUIRED>
    : : : : <!ELEMENT FILMOGRAPHY (P)>
    : : : : <!ELEMENT COMPILATIONS (P)>
    : : : : <!ELEMENT BIBLIOGRAPHY (P)>
    : : : : <!ELEMENT VIDEOGRAPHY (P)>
    : : : : <?xml version="1.0" standalone="no"?>
    : : : : <!DOCTYPE EPM SYSTEM "epm.dtd">
    : : : : <EPM>
    : : : : <ARTICLE Performer="Johansson, Jan"
    : : : : ArtID="13994"><HEADWORD>
    Johansson,
    : : : : Jan</P></HEADWORD><BIOGRAPHY>
    b. 16 September 1931,
    : : : Swderhamn,
    : : : : Sweden, d. 9 November 1968, Stockholm, Sweden. Johansson
    : was
    : : a
    : : : : pianist, composer and arranger who became known to
    : European
    : : : : audiences as a member of <PERF LINK="Getz, Stan">Stan
    : : : : Getz</PERF> &#237;s quartet touring with <PERF
    : : : : LINK="Granz, Norman">Norman Granz</PERF> &#237;s
    JATP
    : : : : concerts in 1960. The following year he joined Arne
    : : : : Domn...rus &#237;s band, and also the Swedish Radio
    : Jazz
    : : : : Group, in 1967, composing and arranging for both.
    : Johansson
    : : : also
    : : : : wrote for film, theatre, ballet (e.g. Rwrelser )
    : and
    : : : : television (e.g. the Pippi Lngstrwmpa tune). He reached
    a
    : : : broad
    : : : : audience with sensitive renditions of Swedish folk
    songs.
    : : His
    : : : : considerable talents as composer and arranger were
    : : especially
    : : : : apparent in his experimental writing for the Radio Jazz
    : : Group,
    : : : : which fused and reinterpreted European art music, folk
    and
    : : : jazz
    : : : : in ways that went beyond the <PERF LINK="Basie,
    : : : Count">Count
    : : : : Basie</PERF> or <PERF LINK="Kenton, Stan">Stan
    : : : : Kenton</PERF> formats for big band jazz ( Den
    Korta
    : : : : Fristen ). As a jazz pianist in a trio context,
    : : Johansson
    : : : : adopted a swinging <PERF LINK="Kelly, Wynton">Wynton
    : : : : Kelly</PERF> -like style, but his skill in fully
    : : exploring
    : : : : the potentialities of a song far exceeded the American
    : : : musician
    : : : : (e.g. &#235;Willow Weep For Me&#237; on 8 Bitar
    : : Not
    : : : to
    : : : : be confused with Jan Johansson, the guitarist and music
    : : : : teacher.</P></BIOGRAPHY>
    : : : : <DISCOGRAPHY>
    Rwrelser (Megafon, 1963)<RATING
    : : : : rank="3" text="Good" >***</RATING>, Jazz P
    Svenska
    : : : : (Megafon 1964), Younger Than Springtime (Artist
    : : : : 1972)<RATING rank="4" text="Excellent" >****</RATING>,
    : 8
    : : : : Bitar/Innertrio (Megafon 1989)<RATING rank="3"
    : : text="Good"
    : : : : >***</RATING>, Jan Johansson &#038; Radiojazzgruppen:
    : Den
    : : : : Korte Fristen (Megafon 1991)<RATING rank="3"
    : text="Good"
    : : : : >***</RATING>, 300.000 Km/h (Heptagon
    1994)<RATING
    : : : : rank="4" text="Excellent" >****</RATING>, Musik Genom
    : : Fyra
    : : : : Sekler Med Jan Johansson (Heptagon 1994)<RATING
    : rank="3"
    : : : : text="Good" >***</RATING>, Jan Johansson Spelar Musik
    : P
    : : : Sitt
    : : : : Eget Vis (Heptagon 1995)<RATING rank="3" text="Good"
    : : : : >***</RATING>, En Resa I Jazz Och Folkton
    (Heptagon
    : : : : 1995)<RATING rank="3" text="Good" >***</RATING>, Jazz
    : P
    : : : : Ungerska/In Pleno (Heptagon 1996)<RATING rank="3"
    : : : : text="Good" >***</RATING>.</P></DISCOGRAPHY>
    : : : : <COPYRIGHT>
    Encyclopedia of Popular Music
    : : : : Copyright Muze UK Ltd. 1989 -
    : 1999</P></COPYRIGHT></ARTICLE>
    : : : : </EPM>
    : : : You need to start with
    : : : <?xml version="1.0" standalone="no"
    encoding="ISO-8859-1"?>
    : : : otherwise it will use UTF-8 as the default encoding. If
    this
    : : : does not solve your problem please post a new message
    using
    : : the
    : : : Attach File option as we have found the act of cutting and
    : : : pasting from a message can "fix" encoding problems.
    : : : Oracle XML Team
    : : : http://technet.oracle.com
    : : : Oracle Technology Network
    : It worked the last time with your DTD File as I see it as an
    : attachement. Simply start a new thread and attach the XML
    file.
    : Oracle XML Team
    : http://technet.oracle.com
    : Oracle Technology Network
    null

  • Wls 701 oracle jdriver for 901 coding problem

    We are using simplified chinese, after swith to bea jdriver, it messed up
    all the encoding. So we cannot display Chinese character correctly.
    We are using WLS 7.0.1.0, Oracle 9.0.1 on both Windows and Solaris 8
    environment, BEA supplied JDK 1.3.1_03.
    We have many diffrent problems with oracle drivers:
    1. We want to use XA driver to support distributed transaction, However:
    * bea jdriver xa messes up with encoding
    * when using oracle 901 driver, everything works fince except webservices.
    Workshop application access the ejb, then the workshp application sets
    isolation level, but oracle driver does not support it and gives error.
    2. When not using XA, oracle thin driver works fine. But we lost XA
    capability.
    Any work around?

    Please try to reset NLS_LANG paramet in your environement before starting
    server if you are using weblogic XA driver.
    Mitesh
    Ma Jie wrote:
    We are using simplified chinese, after swith to bea jdriver, it messed up
    all the encoding. So we cannot display Chinese character correctly.
    We are using WLS 7.0.1.0, Oracle 9.0.1 on both Windows and Solaris 8
    environment, BEA supplied JDK 1.3.1_03.
    We have many diffrent problems with oracle drivers:
    1. We want to use XA driver to support distributed transaction, However:
    * bea jdriver xa messes up with encoding
    * when using oracle 901 driver, everything works fince except webservices.
    Workshop application access the ejb, then the workshp application sets
    isolation level, but oracle driver does not support it and gives error.
    2. When not using XA, oracle thin driver works fine. But we lost XA
    capability.
    Any work around?

  • Decoding pdf data which was encoded as a single string

    I am storing a single (very large BLOB) string which is a base64 encoding of a .pdf file.
    If I try to decode the string I get a corrupted .pdf file.
    Below is the code I'm using to decode...
    blob_len := dbms_lob.getlength(pdf_blob);
    offset := 1;
    amount := 78;
    DBMS_LOB.CREATETEMPORARY(blob_dec,true);
    loop
    if offset >= blob_len then
    exit;
    end if;
    dbms_lob.read(pdf_blob,amount,offset,dec_buffer);
    dbms_lob.append(blob_dec,utl_encode.base64_decode(dec_buffer));
    offset := offset + amount;
    end loop;
    NOTE: I know the inital .pdf is fine because if I take the same .pdf file and encode it via Oracle's utl_encode.base64_encode facility, I can decode the data without any issue.
    I do notice that the utl_encode.base64_encode creates individual lines of 76 characters in length with CR's at the end of each, whereas the string I need to work with is a single long string of 201,433 characters.
    The string is coming in from an external webservice so I cannot influence its format.
    I can't read in the string in a single dbms_lob.read call as iIm restricted to the size of the buffer RAW definition (i.e. 32767 ).
    Any help appreciated.
    anthony.

    ascheffer,
    Thanks for your reply.
    I set the offset to 78 because all examples on the net had this figure.
    I've just changed the offset to 76 as per your suggestion, and I can't believe that this works.
    You're a hero!!!
    Thanks,
    Anthony.

  • Oracle Text

    Hi Expert,
    how can i use the Oracle text to do searching with the XML documents?
    as i shredded the xml documents into the SQL view already,
    i cannot create index onto those views.
    what can i do with the Oracle text search?
    THX a lot~!
    Edith

    Hi Edith:
    Oracle Text can index document in UTF8 or any other encoding supported by Oracle.
    Assuming that your table is LRPAPER_XMLTYPE_TBL you can create a Text index with:
    create index LRPAPER_XMLTYPE_TBL_idx on LRPAPER_XMLTYPE_TBL p (value(p)) indextype is ctxsys.context;If you have documents with different languages stored in the same table you has to find some scalar column to be used as discriminator value. In my example "lang" is an scalar column of type varchar2. See the annotated schema at:
    http://www.dbprism.com.ar/xsd/document-v20-ann.xsd
    This annotated schema creates these Oracle types:
    SQL> desc "document"
    Name                                      Null?    Type
    SYS_XDBPD$                                         XDB.XDB$RAW_LIST_T
    id                                                 VARCHAR2(4000 CHAR)
    lang                                               VARCHAR2(4000 CHAR)
    header                                             headerType
    body                                               CLOB
    footer                                             footerType
    SQL> desc "headerType"
    "headerType" is NOT FINAL
    Name                                      Null?    Type
    id                                                 VARCHAR2(4000 CHAR)
    lang                                               VARCHAR2(4000 CHAR)
    title                                              VARCHAR2(4000 CHAR)
    subtitle                                           VARCHAR2(4000 CHAR)
    version                                            versionType
    type                                               VARCHAR2(4000 CHAR)
    authors                                            authorsType
    notice                                             VARCHAR2(4000 CHAR)
    abstract                                           VARCHAR2(4000 CHAR)
    meta                                               metaListSo the syntax "XMLDATA"."lang" is referencing to the attribute (column) "lang" of the type document.
    Best regards, Marcelo.

  • Encoding XMLs stored in DB

    I need to store XMLs files having content in all Asian and European languages without altering the charset encoding of the Oracle 9i database.
    Also is there any way to index the XML files?
    Thanks,
    Ravi

    This is an idea that almost everybody tries at some point or
    another,
    and most often gives up once the many limitations are
    experienced. But
    it can be done with the correct combination of the evaluate()
    and/or
    de() "delay evaluate" functions.
    IIRC you would use something like
    <cfoutput>#evalute(de(query.field))#<cfoutput>,
    but I never remember for
    sure.
    P.S. This is different then cross-scripting. Cross-scripting
    is all
    about scripts that run in/on the client, primarily
    JavaScript. This is
    code that runs on the server and would be different, as long
    as you
    don't have a publicly accessible form that allows any old
    user to input
    the CFML that will be run into your database. That would be a
    truly
    horrible idea.

  • After 10.1.3.3 migration, Invalid  soap/encoding/:Array' problem

    HI ,
    I have a BPEL process calling a external web service (which takes String as input and returns String[] as output). It is working fine with 10,1,2. When i tried to migrate to 10,1.3 (install 10.1.3.1 and upgrade that to 10.1.3.3 using the patch)project i got following error while compiling bpel module using Jdeveloper 10.1.3.3 (10.1.2 bpel is migrated to 10.1.3.3) .bpel is calling external webservice having <attribute ref="soapenc:arrayType" wsdl:arrayType="xsd:string[]" />
    Loading Graphics File...
    Done Loading.
    Validating Process...
    Done validating.
    Can not build schema 'http://schemas.xmlsoap.org/soap/encoding/' located at 'http://schemas.xmlsoap.org/soap/encoding/'
    Invalid reference: 'http://schemas.xmlsoap.org/soap/encoding/:Array'
    oracle.tip.tools.ide.common.xsdgrammar.SchemaGrammarException: Can not build schema 'http://schemas.xmlsoap.org/soap/encoding/' located at 'http://schemas.xmlsoap.org/soap/encoding/'
    Invalid reference: 'http://schemas.xmlsoap.org/soap/encoding/:Array'
    at oracle.tip.tools.ide.common.xsdgrammar.SchemaGrammarProvider.buildSchemas(SchemaGrammarProvider.java:202)
    at oracle.tip.tools.ide.common.xsdgrammar.GrammarInfo.getGrammars(GrammarInfo.java:859)
    at oracle.tip.tools.ide.common.xsdgrammar.GrammarInfo.createGrammarInfo(GrammarInfo.java:802)
    at oracle.tip.tools.ide.common.xsdgrammar.GrammarInfo.<init>(GrammarInfo.java:281)
    at oracle.tip.tools.ide.common.bpeldesigner.SchemaResolvedObj.buildResolvedDocument(SchemaResolvedObj.java:242)
    at oracle.tip.tools.ide.pm.bpelgraph.editors.ExplorerTreeUtil.populateMessagePartItem(ExplorerTreeUtil.java:208)
    at oracle.tip.tools.ide.pm.bpelgraph.editors.ExplorerTreeUtil.populateMessageParts(ExplorerTreeUtil.java:135)
    at oracle.tip.tools.ide.pm.bpelgraph.editors.ExplorerTreeUtil.populateMessage(ExplorerTreeUtil.java:98)
    at oracle.tip.tools.ide.pm.bpelgraph.editors.ExplorerTreeUtil.buildOperationNode(ExplorerTreeUtil.java:80)
    at oracle.tip.tools.ide.pm.bpelgraph.editors.PLExplorerTreeNode.populateOperations(PLExplorerTreeNode.java:175)
    at oracle.tip.tools.ide.pm.bpelgraph.editors.PLExplorerTreeNode.populateRoles(PLExplorerTreeNode.java:158)
    at oracle.tip.tools.ide.pm.bpelgraph.editors.PLExplorerTreeNode.getChildNodes(PLExplorerTreeNode.java:80)
    at oracle.tip.tools.ide.pm.bpelgraph.editors.ExplorerTree$TreeExpansionHandler$1.run(ExplorerTree.java:6255)
    I don't know what exact the difference between the processing of ArrayType in 10.1.2 and 10.1.3
    can someone help me how to resolve this
    Regards
    ravi

    Hi Didier,
    I did some more experimenting and I think the problem is somewhere in skins.
    I downloaded "mycompany" and "limerone" skin from WebCenter page.
    Now the problem appears only if I use mycompany or limerone skin and only with firefox2.0.
    In JDeveloper visual editor after deleting oracle-desktop-10_1_3_X_0-en-ie-6-windows-s.css problem is solved and also with IE I have no problem. Also no problem if I use "oracle" skin with firefox2.0.
    please try it (new skins + FF) and you will see...
    thanks,
    Branislav

  • Need questions for an Oracle interview tomorrow.

    Hi,
    I have to interview someone tomorrow for and ETL/OWB 11.1 position.
    The following are 20 (19 I had to delete one. It was nasty) of the toughest Oracle interview questions ever asked.
    Obviously I can't ask them tomorrow for many legal reasons.
    Are there any questions that you could suggest to me that I could ask that would be good interview questions? Serious ones that won't get me into trouble.
    Meanwhile ,..., enjoy the list.
    (This list is borrowed from a Web Page Which is:
    http://it.toolbox.com/blogs/infosphere/the-20-hardest-oracle-interview-questions-ever-16692. The author is Vincent McBurney. My thanks to his creativity and humor.)
    20 Oracle Interview Questions
        How long have you been using Oracle in terms of minutes?
        Why should this company lower its standards to hire you?
        What is the most effective way that Oracle can ring fence SAP? Do you have 99 more?
        I see you admiring my suit, I chose it because it's the same color as duct tape and you can't see the repairs.
        What innovation do you bring to your wardrobe?
        How many Oracle Fusion applications have you used?
       What do you do with Oracle Warehouse Builder other than build Oracle Warehouses?
        In the next ten seconds name five cabbage recipes and relate the back to PL/SQL functions.
        Name 9 Oracle CRM tools in reverse order of popularity.
        Describe the use of %ROWTYPE and %TYPE in PL/SQL using only this piece of paper and the ancient art of origami.
        Name three current Oracle BI partners and several dozen former partners.
        What do databases and chickens have in common?
        I can't ask about your race, sex, religion or weight but I can ask do you have a hot looking partner to bring to company functions?
        This is an immediate pass or fail question: what does the "i" stand for in Oracle 10i?
        How would you restore an Oracle database backup with corrupted backup control files if you are the only person in the office and you have super glued thick oven mitts onto both hands?
        Who do you hate more: IBM, Microsoft, SAP or the Welsh?
        Did you see that messenger in the film 300 who got kicked down the bottomless pit?
       How would you break bad news to Larry Ellison?
        Do you know how to skipper a yacht? Can you learn before the next Americas Cup?
        You're not from NZ are you? Oracle has kind of a NZ skipper hiring freeze on at the moment, and for the next 99 years.
        What are the SQL hints you can encode into an Oracle view to encode the correct index usage,
        optimize the join between tables and subliminally compel users to stop using SAP.
        Have you ever committed a federal crime, worked for a terrorist organization,
        acted as a torturer for a foreign dictator or downloaded support materials for TomorrowNow?

    OMG :P

Maybe you are looking for

  • Best Practices: Question about Passing DataSet to Crystal through C#

    I have used the tutorial provided by Business Objects and have successfully passed a dataset from C# code to Crystal Reports. I have a few questions about "best pratices" though. It appears that when passing the dataset to crystal then you no longer

  • Standard Analysis-Reg

    Hi colleagues When i am doing transactions in domestic sales org the standard analysis is updating automatically.( Like MCTA, MCTG,CITE etc)  At the same time the export sales org transactions are not getting updated.  Checked relevant for statistics

  • Deactivate the WM execution view in MM01

    hi, how to deactivate the WM execution view and WM packaging view in material master  in MM01...i already checked material types in SPRO the above mentioned views are not  there....how to deactivate the above views? Thanks Muthuraman.D

  • Maximum weight 's image to load?

    I load a 4Mo image using my_clip.loadImage("'my_image") The image isn't totaly loaded. Right and bottom border are missing. Is there a limitation on the image's weight? Thanks

  • Is mac air compatible with HP Deskjet 1050?

    is mac air compatible with HP Deskjet 1050?