### Problem in retrieving special characters with Oracle 9i JDBC drivers

hi,
We are having some problem with retrieving special characters like '�' from the database.
Our application is using JDK1.3.1 with Oracle 9i at the back end(Version: 9.0.1.0.0). We are using oracle 9i thin drivers (classes12.zip) for database interaction.
To relieve the data from database we are using PreparedStatement in two ways
1. Creating a preparedstatement from connection object without any parameters and then retrieve the
data using it. This gives the results in correct format i.e. special characters like '�'
2. Create the preparedstatement by passing the following parameters.
i) ResultSet.TYPE_SCROLL_INSENSITIVE
ii) ResultSet.CONCUR_READ_ONLY
In this case we are not able to retrieve the special character like '�' correctly. Instead the ResultSet
returns 'h'
I think this is the problem with Oracle drivers. Does anyone have any information about the mentioned problem.
rgds

I don't know exactly (because I am using JDK 1.4 with ojdbc14.jar where these problems seem to be rare...) but you may consider this:
1. Add nls_charset12.zip to your classpath to ensure that the encoders are present (may or may not help)
2. Swith to JDK 1.4, and do this:
Instead of String s = getString(column)
use
byte[] bytes = getBytes(column);
ByteBuffer bb = ByteBuffer.wrap(bytes); // in package java.nio
CharBuffer cb = Charset.forname("ISO-8859-x").decode(bb);
String s = cb.toString();
The latter method allows you to perform the encoding/decoding manually.
3. Change the character encoding in the database to unicode upon database setup.
4. Try playing with NLS parameters (alter session ...)

Similar Messages

  • How to save Special Characters in oracle?

    Is there any way to enter special characters such as ºC ? i am using J2EE and Oracle 9 i.
    When i try to enter 2ºC after updating the datbase it is converted to 2ºC when it is displayed in HTML. All special characters are prefixed with Â. Pls suggest any way to use special characters with oracle ..

    This has nothing do to with NLS_LANGUAGE. In general, character set processing depends on NLS_LANG setting (which is an OS setting and not a instance initialization parameter) and database character set. To understand NLS_LANG see OTN NLS_LANG FAQ http://www.oracle.com/technology/tech/globalization/htdocs/nls_lang%20faq.htm.
    However, I think that JDBC is an exception and does not use the character set defined by NLS_LANG. See last answer in following discussion:
    Re: When is NLS_LANG used ?

  • Jar (or Zip) file with problems in accents, special characters

    Hi! I've a servlet that creates a jar (or zip) file and then send it. My problem is that when I create an entry in which the filename has special characters such as accents, when I unjar or unzip de file, it brings a lot of garbage characters. For example, the nex entry:
    Ex�menes.doc
    when unzipped is:
    Ex?�menes.doc
    I've tried a lot of things:
    -Setting the locale to ES, MX
    -Replacing all the letters with special characters with its unicode (like s.replace('�','\u00E1')
    -Trying to convert it to UTF8 (new String(path.getBytes(),"UTF8") )
    -Replacing the file separator char (according to a workaround that I found in the bug database)
    But nothing of this worked, alone or together. I've read that this is (or was) a bug in the API, but don't know if a solution has been found.
    Any help will be greatly appreciated!

    It's not clear what you are asking. Maybe this will help
    http://www.cfdev.com/code_samples/code.cfm/CodeID/83/Java/Simple_Ant_build_xml_Build_Task

  • Retrieving special characters through an HttpRequest

    Why I can not retrieve special characters like accents, spanish chars, etc. through an HttpRequest? Instead of the special char I want to retrieve it always changes them to another symbol. For example (ni�o, informaci�n)
    Is there any way to do it?
    Thanks in advance

    The HTTP specifications say that data sent through HTTP must be in ASCII. Those accented characters are not in the ASCII character set, so when you ignore the rule and send them anyway, they become mangled. You'll observe that this forum has the same problem.
    The HTTP specs do provide a way to send non-ASCII characters, though, through some kind of escaping or encoding. You could look it up, they are in an RFC on the Internet somewhere. However, you are probably asking about characters that are sent to you by some agent (probably a browser) that you do not control.

  • Problem using production version of SQL Server 2005 JDBC drivers

    A production version of the Microsoft SQL Server 2005 JDBC driver became available on 1/20/06, and we are having some issues getting it to work with WLS 9.1. The non-XA driver works fine, but when we attempt to use the XA version, we see the error below in our logs. (Note that in the text "status:0 msg:null", the "null" is actually an unprintable character that I was not able to copy/paste.)
    We have successfully tested WLS 9.1 with the beta JDBC drivers that were released by Microsoft a number of months ago, so this appears to be a problem with the prod version only (although we had no trouble using the prod drivers with JBoss). We have actually opened a support case for this, but the response we have received thus far has been negligible at best and we really need to get this issue resolved, so I am posting the problem here as well to see if anyone else has encountered it.
    Regards,
    Sabrina
         at ourpackage.OurMDB.onMessage(OurMDB.java:184)
         at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:426)
         at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:332)
         at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:288)
         at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:3824)
         at weblogic.jms.client.JMSSession.execute(JMSSession.java:3738)
         at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:4228)
         at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
    Caused by: ourpackage.OurDBUtil.openConnection(OurDBUtil.java:130)     
         ... 11 more
    Caused by: java.sql.SQLException: Unexpected exception while enlisting XAConnection java.sql.SQLException: XA error: XAResource.XA_OK start() failed on resource 'OurXADataSource': XA_OK
    javax.transaction.xa.XAException: java.sql.SQLException: Failed to create the XA control connection. Error: xp_sqljdbc_xa_init failure, status:0 msg:null.
         at com.microsoft.sqlserver.jdbc.SQLServerXAResource.start(Ljavax.transaction.xa.Xid;I)V(Unknown Source)
         at weblogic.jdbc.jta.DataSource.start(DataSource.java:679)
         at weblogic.transaction.internal.XAServerResourceInfo.start(XAServerResourceInfo.java:1160)
         at weblogic.transaction.internal.XAServerResourceInfo.xaStart(XAServerResourceInfo.java:1093)
         at weblogic.transaction.internal.XAServerResourceInfo.enlist(XAServerResourceInfo.java:274)
         at weblogic.transaction.internal.ServerTransactionImpl.enlistResource(ServerTransactionImpl.java:496)
         at weblogic.transaction.internal.ServerTransactionImpl.enlistResource(ServerTransactionImpl.java:428)
         at weblogic.jdbc.jta.DataSource.enlist(DataSource.java:1390)
         at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1314)
         at weblogic.jdbc.jta.DataSource.getConnection(DataSource.java:436)
         at weblogic.jdbc.jta.DataSource.connect(DataSource.java:392)
         at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:359)
         at ourpackage.OurDBUtil.openConnection(OurDBUtil.java:125)     
         at ourpackage.OurMDB.onMessage(OurMDB.java:184)
         at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:426)
         at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:332)
         at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:288)
         at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:3824)
         at weblogic.jms.client.JMSSession.execute(JMSSession.java:3738)
         at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:4228)
         at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
         at weblogic.jdbc.jta.DataSource.enlist(DataSource.java:1395)
         at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1314)
         at weblogic.jdbc.jta.DataSource.getConnection(DataSource.java:436)
         at weblogic.jdbc.jta.DataSource.connect(DataSource.java:392)
         at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:359)
         at ourpackage.OurDBUtil.openConnection(OurDBUtil.java:125)     
         at ourpackage.OurMDB.onMessage(OurMDB.java:184)
         at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:426)
         at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:332)
         at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:288)
         at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:3824)
         at weblogic.jms.client.JMSSession.execute(JMSSession.java:3738)
         at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:4228)
         at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
         at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1327)
         at weblogic.jdbc.jta.DataSource.getConnection(DataSource.java:436)
         at weblogic.jdbc.jta.DataSource.connect(DataSource.java:392)
         at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:359)
         at ourpackage.OurDBUtil.openConnection(OurDBUtil.java:125)
         ... 12 more

    SabrinaL wrote:
    A production version of the Microsoft SQL Server 2005 JDBC driver became available on 1/20/06, and we are having some issues getting it to work with WLS 9.1. The non-XA driver works fine, but when we attempt to use the XA version, we see the error below in our logs. (Note that in the text "status:0 msg:null", the "null" is actually an unprintable character that I was not able to copy/paste.)
    We have successfully tested WLS 9.1 with the beta JDBC drivers that were released by Microsoft a number of months ago, so this appears to be a problem with the prod version only (although we had no trouble using the prod drivers with JBoss). We have actually opened a support case for this, but the response we have received thus far has been negligible at best and we really need to get this issue resolved, so I am posting the problem here as well to see if anyone else has encountered it.
    Regards,
    SabrinaHi. Have you done all the XA-related install for the new MS driver? (put the XA
    dll in the DBMS environment etc)? Is your DBMS on a 32-bit machine or 64-bit machine?
    Does the driver present a dll for each of those? You can also get good JDBC help
    from MS via their microsoft.public.sqlserver.jdbcdriver newsgroup.
    Joe Weinstein at BEA
    >
         at ourpackage.OurMDB.onMessage(OurMDB.java:184)
         at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:426)
         at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:332)
         at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:288)
         at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:3824)
         at weblogic.jms.client.JMSSession.execute(JMSSession.java:3738)
         at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:4228)
         at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
    Caused by: ourpackage.OurDBUtil.openConnection(OurDBUtil.java:130)     
         ... 11 more
    Caused by: java.sql.SQLException: Unexpected exception while enlisting XAConnection java.sql.SQLException: XA error: XAResource.XA_OK start() failed on resource 'OurXADataSource': XA_OK
    javax.transaction.xa.XAException: java.sql.SQLException: Failed to create the XA control connection. Error: xp_sqljdbc_xa_init failure, status:0 msg:null.
         at com.microsoft.sqlserver.jdbc.SQLServerXAResource.start(Ljavax.transaction.xa.Xid;I)V(Unknown Source)
         at weblogic.jdbc.jta.DataSource.start(DataSource.java:679)
         at weblogic.transaction.internal.XAServerResourceInfo.start(XAServerResourceInfo.java:1160)
         at weblogic.transaction.internal.XAServerResourceInfo.xaStart(XAServerResourceInfo.java:1093)
         at weblogic.transaction.internal.XAServerResourceInfo.enlist(XAServerResourceInfo.java:274)
         at weblogic.transaction.internal.ServerTransactionImpl.enlistResource(ServerTransactionImpl.java:496)
         at weblogic.transaction.internal.ServerTransactionImpl.enlistResource(ServerTransactionImpl.java:428)
         at weblogic.jdbc.jta.DataSource.enlist(DataSource.java:1390)
         at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1314)
         at weblogic.jdbc.jta.DataSource.getConnection(DataSource.java:436)
         at weblogic.jdbc.jta.DataSource.connect(DataSource.java:392)
         at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:359)
         at ourpackage.OurDBUtil.openConnection(OurDBUtil.java:125)     
         at ourpackage.OurMDB.onMessage(OurMDB.java:184)
         at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:426)
         at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:332)
         at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:288)
         at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:3824)
         at weblogic.jms.client.JMSSession.execute(JMSSession.java:3738)
         at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:4228)
         at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
         at weblogic.jdbc.jta.DataSource.enlist(DataSource.java:1395)
         at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1314)
         at weblogic.jdbc.jta.DataSource.getConnection(DataSource.java:436)
         at weblogic.jdbc.jta.DataSource.connect(DataSource.java:392)
         at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:359)
         at ourpackage.OurDBUtil.openConnection(OurDBUtil.java:125)     
         at ourpackage.OurMDB.onMessage(OurMDB.java:184)
         at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:426)
         at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:332)
         at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:288)
         at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:3824)
         at weblogic.jms.client.JMSSession.execute(JMSSession.java:3738)
         at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:4228)
         at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
         at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1327)
         at weblogic.jdbc.jta.DataSource.getConnection(DataSource.java:436)
         at weblogic.jdbc.jta.DataSource.connect(DataSource.java:392)
         at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:359)
         at ourpackage.OurDBUtil.openConnection(OurDBUtil.java:125)
         ... 12 more

  • Problems with special characters with XML/PDF printing

    Hi,
    Our setup:
    Apex Listener 2.0.5
    Oracle DB 11G
    Weblogic
    Apex 4.2.2
    Various recent major browsers
    We used this blog post so we could do some PDF printing with APEX Listener:
    http://marcsewtz.blogspot.be/2013/04/pdf-printing-with-oracle-application.html
    The problem is special characters. For example the "&" sign comes out as "%26amp;" when we export an XML.
    Could anyone provide some insights of what we can do to fix this?
    Regards,
    Joni

    This is a known bug.
    https://support.oracle.com/epmos/faces/BugDisplay?_afrLoop=957905848396285&id=18282188&_afrWindowMode=0&_adf.ctrl-state=168vq5zhn3_233
    The bug 18282188 has been fixed in Apex 4.2.5 version.
    Upgrade the Apex version to 4.2.5 when it is available.

  • Load special characters in oracle by using informatica

    Hi All,  I'm trying to load data from flat file to oracle databse table using Informatica power center 9.1.0 and I have some special characters in source file. Data are loaded sucessfully without any errors but these special characters are loaded different way like 1) Planner – loaded as Planner ��������2) Háiréch  loaded as Hair��������ch  While same flatfile loaded into another flatfile,data loaded correctly including special characters.So,I am unable to understand problem with database or informatica.   SourceFlat File - comma ',' delimtedCode page is defined as UTF-8 encoding of Unicode Relational connectionI have tried by changing the code page while creating relational connection in Informatica to UTF-8, ISO 8859-1 Western European,  MS Windows Latin 1 etc.,didn't work. InformaticaIntegration Service and Repo code page is defined as UTF8Data movement code page of Integration server was set to UNICODE   TargetOracle databaseNLS_NCHAR_CHARACTERSET: AL16UTF16NLS_CHARACTERSET: AL32UTF8   ThanksSai

    Hi All,  I'm trying to load data from flat file to oracle databse table using Informatica power center 9.1.0 and I have some special characters in source file. Data are loaded sucessfully without any errors but these special characters are loaded different way like 1) Planner – loaded as Planner ��������2) Háiréch  loaded as Hair��������ch  While same flatfile loaded into another flatfile,data loaded correctly including special characters.So,I am unable to understand problem with database or informatica.   SourceFlat File - comma ',' delimtedCode page is defined as UTF-8 encoding of Unicode Relational connectionI have tried by changing the code page while creating relational connection in Informatica to UTF-8, ISO 8859-1 Western European,  MS Windows Latin 1 etc.,didn't work. InformaticaIntegration Service and Repo code page is defined as UTF8Data movement code page of Integration server was set to UNICODE   TargetOracle databaseNLS_NCHAR_CHARACTERSET: AL16UTF16NLS_CHARACTERSET: AL32UTF8   ThanksSai

  • Retrieving Unicode characters with MS Query

    Hi.
    I am using MS Query to retrieve data into Excel from an Oracle database.  The data contains several different characters (such as degree and diameter symbols) which are stored as Unicode, but the query returns the same character for all of them.
    In the MS Query window the special characters appear as upside down question marks; in Excel they show as white question marks in a black diamond.  The ASCII code of the character displayed in Excel is '63', and the UNICODE() value is 65533.  This
    isn't the character that is stored in the Oracle database.
    Is there a way to correctly retrieve these characters? 
    The ODBC driver is Oracle in OraClient11g_home1, version 11.02.00.01.  I've tried it with the 'Force SQL_WCHAR Support' setting on, but it didn't make a difference.  So, I've pretty much exhausted my knowledge now...
    Thanks in advance,  Steve

    Hi
    Steve,
    As far as I know the function of MS Query didn’t update anymore after the version of excel 2003. I suppose the issue might be caused by the different rules between Unicode
    and ASCII code, so you get different result in excel from Oracle database. I suggest you can try to use PowerQuery and PowerPivot. Their function are stronger than MS Query, and you can get latest function. Probably they can help you to solve your issue.
    Hope it’s helpful.
    Regards,

  • Installation problem under AIX 5.3 with Oracle 10g

    Hello,
    I start an installation in AIX 5.3 machine with oracle 10. I install oracle 10.0 and pathes for oracle 10.2.0.2.0. I also install and all the interim patches through MOpatch utility. I also install the latest R3trans and R3load for unicode installation. But i have 4 errors under phase IMPORT ABAP. In this phase 33 packages completed succesfully. I have 4 packages with errors.
    In ImportMonitor.Console.Log i have the following errors:
    Import Monitor jobs: running 1, waiting 4, completed 33, failed 0, total 38.
    Import Monitor jobs: running 2, waiting 3, completed 33, failed 0, total 38.
    Import Monitor jobs: running 3, waiting 2, completed 33, failed 0, total 38.
    Loading of 'SAPSSEXC_4' import package: ERROR
    Import Monitor jobs: running 2, waiting 2, completed 33, failed 1, total 38.
    Loading of 'SAPPOOL' import package: ERROR
    Import Monitor jobs: running 1, waiting 2, completed 33, failed 2, total 38.
    Loading of 'DOKCLU' import package: ERROR
    Import Monitor jobs: running 0, waiting 2, completed 33, failed 3, total 38.
    Import Monitor jobs: running 1, waiting 1, completed 33, failed 3, total 38.
    Loading of 'SAPCLUST' import package: ERROR
    Import Monitor jobs: running 0, waiting 1, completed 33, failed 4, total 38.
    Inside SAPSSEXC_4.log i have the following errors:
    /usr/sap/BEQ/SYS/exe/run/R3load: START OF LOG: 20071130102907
    /usr/sap/BEQ/SYS/exe/run/R3load: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#14 $ SAP
    /usr/sap/BEQ/SYS/exe/run/R3load: version R7.00/V1.4
    Compiled Oct 20 2007 02:05:46
    /usr/sap/BEQ/SYS/exe/run/R3load -i SAPSSEXC_4.cmd -dbcodepage 4102 -l SAPSSEXC_4.log -stop_on_error
    (DB) INFO: connected to DB
    (DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): UTF8
    (DB) INFO: T512CLU deleted/truncated #20071130102908
    myCluster (63.20.Imp): 655: error when retrieving table description for physical table T512CLU.
    myCluster (63.20.Imp): 656: return code received from nametab is 2
    myCluster (63.20.Imp): 299: error when retrieving physical nametab for table T512CLU.
    (CNV) ERROR: data conversion failed.  rc = 2
    (DB) INFO: disconnected from DB
    /usr/sap/BEQ/SYS/exe/run/R3load: job finished with 1 error(s)
    /usr/sap/BEQ/SYS/exe/run/R3load: END OF LOG: 20071130102908
    Under SAPPOOL i have:
    usr/sap/BEQ/SYS/exe/run/R3load: START OF LOG: 20071130102907
    /usr/sap/BEQ/SYS/exe/run/R3load: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#14 $ SAP
    /usr/sap/BEQ/SYS/exe/run/R3load: version R7.00/V1.4
    Compiled Oct 20 2007 02:05:46
    /usr/sap/BEQ/SYS/exe/run/R3load -i SAPPOOL.cmd -dbcodepage 4102 -l SAPPOOL.log -stop_on_error
    (DB) INFO: connected to DB
    (DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): UTF8
    (DB) INFO: ATAB deleted/truncated #20071130102908
    failed to read short nametab of table AT01                           (rc=2)
    (CNVPOOL) conversion failed for row 0 of table  VARKEY = ã ±ã ±ã °â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  
    (CNV) ERROR: data conversion failed.  rc = 2
    (DB) INFO: disconnected from DB
    /usr/sap/BEQ/SYS/exe/run/R3load: job finished with 1 error(s)
    /usr/sap/BEQ/SYS/exe/run/R3load: END OF LOG: 20071130102908
    I read notes 421554 and 898181 i execute the directions from the notes to change the R3load and R3trans.
    Do you have any idea how can i procceed with the errors?
    Thank you in advance
    Thanasis Porpodas

    Hi,
    look at sap note 921593 and search for myCluster ,
    read that section following is a part of that note.
    Symptom:
    During the import into a UNICODE system the following error occurs
    (for example in the SAPCLUST.log):
    myCluster (63.2.Imp): 2085: (Warning:) inconsistent field names(source): physical field K1N05 appears as logic K1N5.
    myCluster (63.2.Imp): 2086: (Warning:) further investigation recommended
    myCluster (63.2.Imp): 1924: error when checking key field consistency for logic table TACOPC    .
    myCluster (63.2.Imp): 1927: logic table is canonical.
    myCluster (63.2.Imp): 1930: received return code 2 from c3_uc_check_key_field_descr_consistency.
    myCluster (63.2.Imp): 1224: unable to retrieve nametab info for logic table TACOPC    .
    myCluster (63.2.Imp): 8032: unable to acquire nametab info for logic table TACOPC    .
    myCluster (63.2.Imp): 2807: failed to convert cluster data of cluster item.
    myCluster: CLU4       *00001*
    myCluster (63.2.Imp): 319: error during conversion of cluster item.
    myCluster (63.2.Imp): 322: affected physical table is CLU4.
    (CNV) ERROR: code page conversion failed              rc = 2
    |
    |                              RSCP - Error
    | Error from:            Codepage handling (RSCP)
    | code:  128  RSCPENOOBJ   No such object
    | Dummy module without real rscpmc[34]
    | module: rscpmm  no:    2 line:    75          T100: TS008
    | TSL01: CPV  p3: Dummy-IPC   p4: rscpmc4_init
    `----
    Cause:
    This problem is caused by incorrect data which should have been removed from the source system before the export.
    Solution:
    There are two possible workarounds:
          1. Modify DDL<dbs>.TPL (<dbs> = ADA, DB2, DB4, DB6, IND, MSS, ORA) BEFORE the R3load TSK files are generated;
                  search for the keyword "negdat:" and add "CLU4" and "VER_CLUSTR" to this line.
          2. Modify the TSK file (most probably SAPCLUST.TSK) BEFORE R3load import is (re-)started;
                  search for the lines starting with "D CLU4 I" and "D VER_CLUSTR I" and change the status (i.e. "err" or "xeq") to "ign" or remove the lines.

  • Problems in displaying chinese characters with utf-8 encoding

    Hi,
    I got problem in displaying chinese characters in my web application.
    I am creating a web application supporting both English and Chinese charaters. What I am trying to do is:
    1. storing some chinese characters via a web page (page1) into database.
    2. retrieve the chinese characters via another web page (page2) from the database.
    Once I put the Chinese characters on the webpage (page1 in step #1), it displayes well (the readable chinese characters) before I submit this page (after submit, the data will be stored into the database).
    But when I tried to display the chiese characters via page2 in step#2, I got un-readable characters displayed.
    The running configuration is: Sun Application Server (coming and with the JSC2) and MySQL server 5.0. And I setup the database server with utf8 as character-set.
    It seems like the chinese characters got messed up throught the round-trip (from page1<----via jdbc---->database<----via jdbc------>page2).
    From the database, I found the chinese characters are there. Any helps are appreciated.

    Hi,
    I am trying to insert new record.The record may contain chineese or English data.
    I did same what u specified.
    first I converted to the byte UTF8.again,I converted byte to string using 8859_1.
    the values are not storing chinese characters.
    pls suggest me.
    below is my code.
                                  ascCode = req.getParameter("asccode");
                                  countryCode = req.getParameter("countrycode");
                                  ascName      = req.getParameter("ascname");
                                  address1     = req.getParameter("ascaddress1");
                                  address2 = req.getParameter("ascaddress2");
                                  System.out.println("ASC NAME:"+ascName);
                                  System.out.println("ADDRESS1:"+address1);
                                  System.out.println("ADDRESS2:"+address2);
                                  ascC = ascCode.getBytes("UTF8");
                                  coun = countryCode.getBytes("UTF8");
                                  ascN           = ascName.getBytes("UTF8");
                                  add1 = address1.getBytes("UTF8");
                                  add2          = address2.getBytes("UTF8");
                                  System.out.println("ASC NAME:"+ascN);
                                  System.out.println("ADDRESS1:"+add1);
                                  System.out.println("ADDRESS2:"+add2);
                                  ascCode = new String(ascC,"8859_1");
                                  countryCode= new String(coun,"8859_1");
                                  ascName = new String(ascN,"8859_1");
                                  address1 = new String(add1,"8859_1");
                                  address2 = new String(add2,"8859_1");
                                  System.out.println("ASC NAME:"+ascName);
                                  System.out.println("ADDRESS1:"+address1);
                                  System.out.println("ADDRESS2:"+address2);
    thanks.

  • Language problem: ODBC changes special characters

    We are running Oracle 10g and have some clients that need access to some views using an ODBC-connection.
    Installation of the Instant Client and ODBC package went without trouble. We established a system DSN and the client has a successful connection to the database.
    Some special characters (for example german "&auml;","&ouml;","&uuml;" and the symbol "&Oslash;" for diameter) are howewer changed when viewed in Access or other 3rd party programms that use that system DSN ("&auml;" becomes "a", "&ouml;" becomes "o", "&Oslash;" becomes "?", etc.).
    I guess there may be just a single setting we missed to configure. Can anybody help?
    TNSNAMES.ORA (hostname changed):
    ORACLE_DEVELOP =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = TCP)(HOST = &lt;hostname&gt;)(PORT = 1521))
      (CONNECT_DATA =
        (SERVER = DEDICATED)
        (SERVICE_NAME = xyz)
    Edited by: user10620045 on 16.12.2008 02:12

    Hi,
    What character set is your database? SELECT * FROM NLS_DATABASE_PARAMETERS WHERE PARAMETER LIKE '%ERSET';
    Usually we see the behavior you're reporting when folks try to store data that the database characterset doesnt support. Disregard any sort of "when i select it from ____ it comes back different" results as that will only distract you.
    What is the data stored as exactly? Insert just a character or two in a one column table and then use the dump command.. SELECT DUMP(COLNAME,1016) FROM TABLENAME WHERE ...
    then match the code points with that character set and see if theyre valid.
    Hope it helps,
    Greg

  • Dwm special characters with tty font?

    Currently, I have dwm configured like so:
    http://i.imgur.com/JsTurIO.png
    But as you can see, in the upper left corner, my tag names aren't displaying properly, neither is the title of the directory I'm in (†††). I've tried the dwm-pango patch, but then I'm unable to get it to use the same font it uses currently for the menubar, which I would like it to do. I also have no idea what the name of the font it's currently using is.
    So, two questions: is there a way I can get special characters to show up with dwm while maintaining the same font, and if not, how can I switch the font in my terminal windows so that I can match the statusbar and my other windows? I suspect the answer to the second is just some line in .Xresources which I can probably figure out unless there's something more complicated, but I'd rather just use the same font I'm currently using, but fix the special characters problem.
    -- mod edit: read the Forum Etiquette and only post thumbnails http://wiki.archlinux.org/index.php/For … s_and_Code [jwr] --
    Last edited by davidjosepha (2014-03-04 22:32:51)

    Epictek wrote:
    davidjosepha wrote:
    I'm getting an error when I try to build...
    /usr/include/X11/Xft/Xft.h:39:22: fatal error: ft2build.h: No such file or directory
    However, I've made sure freetype2 is installed properly and that ft2build.h is where it's supposed to be. Why might this be happening?
    Edit: Managed to figure this out. But it's still not using a console font in dwm. How can I get it to use a font from /usr/share/kbd/consolefonts/?
    I'm trying to also get this to work but get the same error as you did.
    How did you do to fix it?
    You need to add a couple lines to config.mk in the source directory.
    @OP: It's not entirely clear what your goal is. The XFT patch allows for unicode .ttf fonts, and affects the entire statusbar; the current Pango patch allows for fonts in languages with unique character sets (Cyrillic, CJK, Thai, etc.) but some Pango features only affect the right-hand statusline. If you're trying to add, say, symbols or icons to your tag names for a little eye-candy, you can use the XFT patch and use unicode characters. If you're trying to use a font for your native language, Pango would be the better choice. From what I can tell (C often doesn't come easily to me), it seems each patch replaces console font support entirely for its respective alternative. I'm not aware of any solution that could allow you to use a console font in DWM while displaying special characters; you'll probably have to pick whichever patch you feel is less invasive and detrimental.
    EDIT: If you choose to apply a patch and then change the fonts in your terminal emulator, the latter depends on which terminal you're using. The wiki has articles on Xterm and Urxvt; other terminals will either have a configuration menu or file you can alter, probably mentioned in the man page.
    Last edited by ANOKNUSA (2014-04-12 16:04:44)

  • How to insert & # special characters into oracle table?

    I have a text value which contains special characters such as & and #.
    After I pass from one page to another,
    TEST& becomes "TEST&amp;"
    I put " " on the above test, otherwise amp; will be truncated by OTN).
    TEST# becomes TEST (# is truncated).
    Actually the value is saved in table like this: "TEST&amp;"
    How to solve this problem?
    How to insert & into table without &amp;
    Thank you.
    Edited by: user628655 on Jul 27, 2009 9:47 AM
    Edited by: user628655 on Jul 27, 2009 9:49 AM
    Edited by: user628655 on Jul 27, 2009 10:39 AM

    Avoid doing that through a link. If this is a page item then submit the page and redirect to the target page using a branching. On the target page, create a computation to compute the target item using the original page item as the source. If you are talking about a report, use the id to pass through the link and fetch the text column in an on load computation.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    ------------------------------------------------------------------------------

  • Problem in reading special characters � Microsoft symbols.

    Hi All,
    I have a text field where user can enter some string and search. Unusually/unfortunately users can copy/paste text from ms-word file and search for that entry in the database. Here they can even copy ms-word special symbols such as ellipsis (�), em dash(�), en dash(�). Since database has such (special character) entries we cannot restrict them from doing this (after all that is the requirement).
    Now the problem is when I read the text value in servlet/jsp I find that those special characters are replaced by question marks(?). Because of this database return �no rows found� though there are entries.
    What I have observed is when I read the ASCII value � (int)char I am able to get proper value. Using that I am having if else block to replace the question marks with proper symbols. But is there a direct way to do this? I even tried converting the string to another character set type string. But no luck.
    (Also when I print the text value to a JSP, I can see proper vales through Internet Browser.)
    Below is the sample program(read_n_print.jsp), sysout prints question marks in console, but JSP/HTML shows proper value in browser.
    <html>
    <%
         String value = request.getParameter("special_text");
         System.out.println("value " + value);
         if(value != null){
              byte[] bytes= value.getBytes();
              try {
                   String output = new String(bytes,"ISO-8859-1");     
                   System.out.println("output " + output);     
              } catch (Exception e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
    %>
    <head>
    <title>Insert title here</title>
    </head>
    <body>
    <form method="post" action="./read_n_print.jsp">
    <input type="text" name="special_text" value=""> <input type="submit" value="Go" > <br>
    <font size="8">Value entered is <%= value %></font>
    </form>
    </body>
    </html>

    Hi DrClap,
    Thanks for your reply.
    That article was helpful in understanding character conversions. And it works fine for JSPs.
    But when I tried to apply the same in JSF it does not work. May be this is not the right forum to dicuss JSF related things. But if you know how pageEncoding and contentType can be mentioned in JSF. I am using myfaces and I have tried <h:form id="SearchForm" acceptCharset="UTF-8" accept="text/html;charset=UTF-8">. Didnt work....

  • Reading and writing Special Characters to Oracle DB

    Hi All,
    I need to insert data from CSV to Oracle DB and then use the same data for creating XML file in UTF-8 format.
    I have few fields in the CSV file which has � and � special characters. I'm able to read � and write in UTF-8 , but the same procedure is resulting in some other ascii character for �.
    While reading data from CSV file :
    Reader l_fileReader = new InputStreamReader(p_in,"ISO-8859-1");
    Can anyone help me.
    Thanks,
    Ramki.

    Does anyone has some pointers or clues?

Maybe you are looking for