Special characters in 10g dev

I am using 10g dev. I am converting the reports from 6i. I have some values in DB using special characters ie. for deg C (instead of deg i use o ) . now when I display it on PDF it shows as a junk character. How can we solve it. while I was using Oracle 6i this was displaying properly.
Thanks
MG

Hi Con,
For the case of worksheet script, the special characters work fine for me in 3.2.20.09.87. What version are you on?
When running the query from the Reports view, here are a couple of hints
1. In the report's SQL Query definition, use Style: Script, not Table
2. Edit your SQL Query to use bind variables, not substitution variables, like so...
select ' Action:' || :V_PATCH || ' ' || :V_ACTION || chr(10) ||
'Database: '|| instance_name || chr(10) ||
' Date: '||to_char(sysdate,'DD-MON-YYYY HH24:MI') || chr(10)
from v$instance3. Finally, define them in the Binds section.
Hope this helps,
Gary

Similar Messages

  • Special Characters issue in DEV and QAS

    Hi,
    I am uploading a file that has special characters (Japanese).
    In the DEV system the special character is converted to #. Which the business wants.
    In QAS system the special character is not converted and is as it is, which makes the business users difficult to find out if any speical characters are there and they don't want the special character as it is
    The file consists millions of record with a possibility of four or five records with special characters
    The special characters on keyboards is not an issue.
    The programs in DEV and QAS system are same and the file tested is also the same but different results.
    Tried in Tcode SNLS to find something but didn't know what and where to look into.
    What could be the issue in this? Looks like this is Basis issue but would like to know if anyone can let me know.......
    Regards
    Sandeep

    Hi ,
    i want to check ur open dataset statement in the program which is being used here if at all in ur case.
    Can you please check the relavant code page in both the D and Q systems and search with the appropriate hexa decimal values(for the special characters ) in both the systems ..
    u can use code page by tcode scp ..
    ex -> as u say a special char sp1 is having entry in q and code page which is being used (like 4200 )
    is not having in d03 .
    then if in d03 this page has no entry then it shows as # , since it is showing in q then it has an entry over there. this is my guess..
    so if at all the client wants not to see this special char's , u need to remove them from this code page.. and check ..
    Cant say if this can solve but u can take this as one more way of dealing with code pages  and special chars....
    br vijay..

  • Oracle BPM Studio 10g R3 cataloging Web Services strips special characters

    Hi folks,
    I have a Web Service that I'd like to invoke from an activity in my process.
    When I catalog the WSDL, BPM Studio creates the associated External Resource just fine except for one small problem, namely all Simple Types that have 'special characters' in their enumerated String values are stripped clean.
    Example 1:
    ADSL1
    ADSL2
    ADSL2+
    --> The plus is stripped from ADSL2+, causing BPM Studio to flag two problems caused by duplicate 'ADSL' values
    Example 2:
    adsl1#foo/123
    --> Everything to the left of 123 is stripped leaving only '123' as a value
    In fact in the BPM Studio's Editor, the only special character that is allowed is the underscore. Everything else e.g. \ # etc etc cannot be keyed in.
    Has anyone come across this before? Thanks for reading :-)
    cheers
    jm

  • 10g won't recognize ellipsis and other special characters.

    I'm trying to insert data into both VARCHAR2 and CLOB columns that contains characters such as ellipsis and other special characters. Oracle doesn't recognize the characters and just converts it to garbage. Is there a way to make Oracle easily recognize these characters?
    For example, it won't recognize the following ellipsis in the string:
    "Here we are … right now."

    My bad...I did look at the national character set instead.
    When I performed theq query you posted, I got the following:
    NLS_CHARACTERSET
    WE8MSWIN1252
    NLS_NCHAR_CHARACTERSET
    AL16UTF16
    I hope this new information helps. Also, the tool involved is SQL *Plus, but I'm currently concentrated on getting the insert to work via JDBC. Thanks in advance.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Need help in using replace function with special characters

    I have a column in a table where the data can contain ascii code for special characters such as an apostrophe.
    The data looks like this:
    CREEK'S LANE
    ie for a street named CREEK'S LANE.
    I want to replace the ascii representation with the apostrophe and have the returned data show up as: CREEK's LANE
    When I try the query below I get prompted for substitution variable value.
    I don't seem to be able to find the right syntax to make this query work.
    SELECT REPLACE (street_name, ''', '''')
    FROM
    streets WHERE street_id = 1
    Does anybody know how to do this?
    Any help would be much appreciated.
    Thanks.
    George

    george91 wrote:
    I have a column in a table where the data can contain ascii code for special characters such as an apostrophe.
    The data looks like this:
    CREEK'S LANE
    ie for a street named CREEK'S LANE.
    I want to replace the ascii representation with the apostrophe and have the returned data show up as: CREEK's LANE
    When I try the query below I get prompted for substitution variable value.
    I don't seem to be able to find the right syntax to make this query work.
    SELECT REPLACE (street_name, ''', '''')
    FROM
    streets WHERE street_id = 1
    Does anybody know how to do this?
    Any help would be much appreciated.
    Thanks.
    GeorgeHa! The codes you specified rendered in the HTML, but showed properly when I listed your original posting above. I didn't understand what you meant initially because the 5-character string represenation got rendered as the quote that you said you weren't able to get - a display problem.
    You're getting prompted for the substituon variable because of the ampersand; you appear to be doing this in SQL*PLUS. The first thing I would try is to SET DEFINE OFF when using the ampersands to see if that works. If That doesn't work check the docs to delmit the ampersand (I think its a backslash before it but can't remember offhand). Another, harder option might be to use the TRANSLATE function replacing the literal character instead of using REPLACE (though replacing a quote will be a little tricky). If you're on 10g also consider using the advanced quoting
    Good luck!
    Edited by: riedelme on May 22, 2009 12:45 PM

  • Barcoding -- Special Characters

    I am using Oralce 10g Reports Builder to build a report, that would barcode some special characters like TAB, CARRIAGE RETURN, LINE FEED(NEW LINE) etc. I am currently using the oraclebarcode.jar(java bean) method to develop such barcodes. But this ends up with an error!
    REP -1401 'formulacol' fatal PL/SQL error occured
    ORA-39565 Message 39565 not found Product=RDBMS; Facility=ORA
    My code that i use for this formula_col is
    function CF_1Formula return Char is
         myFileName varchar2(500);
         result varchar2(500);
         barcodeData VarChar2(50) := :chr_008;     
         begin
              if :chr_008 is not NULL then
         myFileName := srw.create_temporary_filename;
         barcodemaker.setBarWidthInch_8345(globals.bcobj, 0.005);
         barcodemaker.setBaseCodeData_6913(globals.bcobj,barcodeData);
         barcodemaker.setBarCodeType_6913(globals.bcobj,globals.barcode_to_use);
         barcodemaker.setFullPath_6913(globals.bcobj, myFileName);
         barcodemaker.renderBarCode_9797(globals.bcobj);
         return(myFileName);
              else
                   return(' ');
              end if;
    end;
    the same code produces barcode for any othe characters(normal characters, 0-9, A-Z, a-z), but spits the above error only if i try it for special characters.
    Any help to generate barcodes for such special non-printable characters would be greatly appreciated
    Srivatsan

    I can't find any .plist files in
    Home/Library/Preferences that refer to CharPalette,
    Surely you must have one called
    com.apple.CharPaletteServer.plist?
    also how can I find files which start with a period
    We're not talking about files that begin with a ., but rather files that end in .plist.

  • Column name in a query contains special characters

    Hi folks,
    The column name in a query contains special characters. For example ~ or ^. The creator of the table put these column names under double quotation while creating the table. When I get the column names form the result set meta data object it returns without quotation. Is there any way to tell the jdbc driver so that it return those column names as it was created, I mean in double quotation.
    The help is urgent. I will appreciate any suggestions. Thanks �.
    [using oracle driver for 10g]
    Thanks
    Angelina

    Just because the column names were in quotations when the database was created doesn't mean that the quotes are actually part of the names. What's inside the quotes is what makes the column name in the database. If I created a column as "abcd" and put it in quotes just like that ("abcd"), it would go in the database as abcd since SQL would strip off the quotes.
    And there's your answer. Just put all column names in quotes whenever you need to talk to SQL. It will strip off the quotes and understand.
    I think SQL will also accept square brackets ([ and ]).

  • Check special characters in a string

    Hi all
    I am using oracle 10g.......
    Need to know what should be the query to check whether a special character exists or not in a column value....used the following query like.....
    select count(*) into emp_no_count_special_char
    from dual
    where REGEXP_LIKE(insert_data_rec.emp_no , '[#!$^&*%./\|]$' )
    or REGEXP_LIKE(insert_data_rec.emp_no , '^[#!$^&*%./\|]' );
    This works fine in case a string starts or ends with a special character ,what if a string of special characters lies in between numeric digits.
    e.g: '100#$%7'
    Please help find a query that checks for the existence of sp. characters irrespective of their position in the column!!!
    Thanks
    Dave
    Edited by: Dave on Jun 6, 2012 5:17 AM
    Edited by: Dave on Jun 6, 2012 5:18 AM

    Hi Dave,
    example below:
    -- Check that at least one special character exists in the string
    SELECT COUNT (*)
      INTO emp_no_count_special_char
      FROM DUAL
    WHERE REGEXP_LIKE (insert_data_rec.emp_no, '[#!$^&*%./\|]');
    -- Check that no special characters exist in the string
    SELECT COUNT (*)
      INTO emp_no_count_special_char
      FROM DUAL
    WHERE NOT REGEXP_LIKE (insert_data_rec.emp_no, '[#!$^&*%./\|]');
    {code}
    Regards.
    Al                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Finding special characters in a string

    Hi all, I'm using Oracle 10g.
    I have a column name with special characters. how can i replace the special characters in the column with space and no space depending on the special character. please see the example below. can i use REGEXP_REPLACE?
    create table
    create table sample_test (
      Name    VARCHAR2(20 BYTE))insert table
    insert into sample_test values ('O''NEIL')
         insert into sample_test values ('B.E.VICTOR')
          insert into sample_test values ('WILLIAM,L')
           insert into sample_test values ('MARY-ANNE')
               insert into sample_test values ('VON_ANCKEN')
                insert into sample_test values ('BROWN;L')i would like the output as follows
    Special Character         Name         Expected Name                  Remarks     
    Single Quotes            O'NEIL                  ONEIL                          Remove quotes and no space       
    Dot                      B.E.VICTOR         B E VICTOR                          Replace with space       
    Comma                      WILLIAM,L         WILLIAM L                          Replace with space       
    Hyphen                      MARY-ANNE         MARY ANNE                          Replace with space       
    Underscore                VON_ANCKEN         VON ANCKEN                          Replace with space       
    Semi Colon              BROWN;L          BROWN L                          Replace with space      Please advise.
    Thanks
    Bob

    A simple solution without regexp usage:
    -- Test Data
    with sample_test as
    select 'O''NEIL' name from dual union all
    select 'B.E.VICTOR'  name from dual union all
    select'WILLIAM,L' name from dual union all
    select'MARY-ANNE' name from dual union all
    select'VON_ANCKEN' name from dual union all
    select'BROWN;L' name from dual
    -- Query:
    select name old_name,
           translate(replace(name,'''',''),'.,-_;','     ') new_name
    from sample_test;Explanation:
    REPLACE deletes the quote
    TRANSLATE replaces dot, comma, hyphen, semicolon and underscore

  • Handling special characters through proxy

    Hi Gurus,
    we hvae a scenario sap to file, sending material information from SAP through outbound prpxy and palcing that detaisl in FTP loation using file adapter.
    Here probelm is one of the fields desc and text we are passing material Description and basic text which may have special characters like # @  µ while these cahractrs coming to XI itselfthey are convering as #0 and giving soem fatal error in XI whaich is unabel to parse in XI mapping and end up with mapping error.
    One more thing the if i use test the interface in dev and qa with the same characters these are working fine only failing in prod.
    please suggest how to procedd furthur.. whhetehr there is any place to check this special charatcres ecoding, uncode maintned at r/3 side or side side.
    here is the error
    Root Cause: com.sap.aii.utilxi.misc.api.BaseRuntimeException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser : #0 not allowed in Character data sections(:main:, row:1, col:1607794) at com.sap.aii.mappingtool.tf3.rt.xparser.MTSaxHandler.run(MTSaxHandler.java:157) at com.sap.aii.mappingtool.tf3.rt.xparser.XParser.run(XParser.java:73) at java.lang.Thread.run(Thread.java:770) Root Cause: com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser : #0 not allowed in Character data sections(:main:, row:1, col:1607794)(:main:, row=1, col=1607794) ->
    Edited by: Jitender Devunuri on Oct 26, 2009 3:33 PM

    Hi all .... any idea

  • Handling special characters in XML

    Hi,
    I am using Oracle 10g 'XMLType' datatype to store XML files. Before storing I parse the XML document using Java Xerces Parser. If it parses successfuly, then I perform some business rule execution based on XML file which was parsed. So till this stage there is no problems. But when XML file contains some special characters like copy-paste of some description from MS-Word document into XML tags, then Xerces parser will parse such characters with out any exceptions, but while inserting XML document, Oracle database just throws exception saying unable to handle special characters.. So how to avoid such exceptions or silent such exceptions with any specific settings respect to XMLType datatype in 10g DB.
    Please advice!
    Arvind Patil - IN

    Monica--
    In XI 2.0, we've noticed a number of issues processing special characters, primarily caused by the version of JCO that we're running.  It sounds like SAP has spent some time in the past few months focusing on these errors, so make sure you're on the most recent patchlevels of all your middleware components, including any of the middleware libraries that BC uses. In XI, we had to update the 3 files that make up the RFC library and JCO library.  SDM couldn't update the libraries for us -- we had to manually move the files to the right place.
    Escaped XML characters like "&" """ """ were fixed as of JCO 2.0.10 (the current patchlevel on AIX/UNIX), the special character "'" is fixed in the next release, JCO 2.0.11, due out in a few weeks (hotfixes are available).  I don't know the equivalent versions on other platforms.  By default, XI 2.0 appears to have shipped with JCO 2.0.5.  I would expect many XI 3.0 users to also be affected.
    This may or may not apply to BC, because I don't know what BC uses to talk to SAP under the covers.
    --Dan King
    Capgemini

  • Special characters broken in Pages

    Hi all,
    I upgraded from Snow Leopard to Mavericks last week (very happy with the decision) and from Pages '09 to Pages 5. I soon moved from Pages 5 back to Pages 09 as it broke all my ToCs and had various other nuisances.
    However, I've come to write a document (I'm an engineer) and inserted a special character (greek epsilon) for the first time since all these upgrades.
    Firstly, the special characters palete has turned into a weird emoticon panel... [sidebar - Read the text in the background of the screenshot, Apple Devs - does it REALLY look like purple hearts a priority?].
    Secondly, there is an actual bug - when you've finally located the character you want it doesn't insert correctly. In the screenshot below, I've inserted five variants of hte greek letter epsilon. Four of them inserted a totally blacnk character and the fifth some otehr symbol I don't even recognise - certainly no variant of epsilon.
    QUESTION 1 - AND AN ANSWER
    Is there any way to turn this ridiculous thing off and just open the special characters pallete?
    Finally figured out that the button on the top right of the pallette is a toggle. Press it and thereafter the proper pallette shows up first.
    QUESTION 2
    The usability of the palette aside, I really need special characters - complete game changer for me. Does anyone know whether there is a fix or workaround for this problem please?
    NEEDED TO FILE A PLAUSIBLE BUG REPORT
    1. More information - if you've upgraded to Mavericks but not yet to Pages 5, could you try inserting an epsilon character please?
    2. More information - if you've upgraded to Mavericks and are running Pages 5, could you try inserting an epsilon character please?
    3. More information - if you've upgraded to Mavericks, run Pages 5 but still have '09 installed, could you try inserting an epsilon character please?
    Answers to these three should help Apple to narrow down the source of the problem.
    Thanks for any help you can offer,
    Tom

    I'm not sure what you are referring to by "variants" of epsilon, but I have no problem inserting Εε or anything else in Pages 4 or Pages 5 while running 10.9.

  • Accents and special characters - how to manage

    Hi,
    please could you explain how it is possible to handle accents and other special characters in Business Objects XI 3.1 (Universes and Reports)? Which are the parameters/settings I need to configure for
    Database (ORACLE)
    Application Server (AIX)
    Universe
    WebI
    I want to display italian accents ò à è ù ì and some special characters like '@'. Even if they are correctly stored in DB, in WebI I retrieve characters without accent and a '?' for '@'
    Any suggest?
    Then, one more thing ...I noticed that creating a new report WebI, characters with accents appear without accents, instead if I create a report with Rich Client and I publish it, then accents are correctly displayed also opening the report with Web Intelligence. I have the application server on AIX, but Rich Client runs on WIN Server ...
    Thanks a lot
    Edited by: Tube Girl on Mar 22, 2010 4:25 PM

    Hi,
    I had almost the same problem (only different language) and manged to solve it after "google-ing" these links:
    http://www.forumtopics.com/busobj/viewtopic.php?p=658760&sid=7fd77de133ee32213d987cb1550ae568
    https://oraclespin.wordpress.com/2008/05/01/setting-nls_lang-for-oracle/
    http://docs.oracle.com/html/B13804_02/gblsupp.htm
    FYI, system is AIX 5.3 with Oracle 10g.
    I've edited .profile for boxi user and added appropriate export of NLS_LANG variable, then restarted BO and now reports are correct.
    I guess you should try adding this line to .profile of your boxi user
    export NLS_LANG=ITALIAN_ITALY.WE8MSWIN1252
    then restart and see results.
    Hope this helps,
    regards!

  • Query with special characters

    I am having a problem returning results that include special characters. I have a list of individuals and want to allow an alpha select to display, for example, only the individuals who's last name starts with C.
    I have an individual in this list who's last name is Čapek
    When I do a mySQL query in mySQL Query Browser as follows, this individual is returned in results.
    SELECT distinct
           last_name
    FROM
           individuals
    WHERE
           last_name like 'C%'
    HOWEVER, when I use the same query in a cfquery, this individual's record is not returned.
    I am using mySQL 5 with ColdFusion 9 and have the mySQL connection string settings: useUnicode=true&characterEncoding=UTF-8
    Any assistance would be appreciated - I've not found anything useful in my Google searches.
    Many Thanks!

    I've not personally come across this issue before, but googling for "mysql where diacritic" (and various permutations thereof) came up with this doc, which seems to discuss your issue: http://bugs.mysql.com/bug.php?id=37413
    So it could be that the JDBC driver is using a different collation than your other MySQL client (wild guess)?
    Try messing around with the collation being used, and see if that helps at all?  The JDBC param to set seems to to connectionCollation be (from http://dev.mysql.com/doc/refman/5.0/en/connector-j-reference-configuration-properties.html ).
    Sorry if this sounds vague or is completely wrong - it's a bit of a guess - but it does sound reasonably likely to be something to do with your issue, given your description.
    Adam

  • 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 "ä","ö","ü" and the symbol "Ø" for diameter) are howewer changed when viewed in Access or other 3rd party programms that use that system DSN ("ä" becomes "a", "ö" becomes "o", "Ø" 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 = <hostname>)(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

Maybe you are looking for

  • How to change the billing document

    hi gurus i have the problem regarding invoice i have saved the invoice without entering the tax condition why because it was manual condition type then how to enter the tax condition type manually in the invoice which i have already saved this is the

  • Notification, but no updates available

    I'm notified that updates are available for my apps, but when I choose to update them, it says no updates are available.  For instance, there's a red number indicating that 3 updates are available, but when I click the update option, it searches, the

  • When I use spry fade effect I get crisp font.

    My page looks like this before fade effect. The letters are smooth. After fade effect. I get this crisp letters. Why ?? Thanks in advance. And sorry about my poor english.

  • All outlook appointments are 1hr early

    I just got the iPhone, and in addition to the popular DST bug I noticed one more. All my outlook appointments are 1hr early. Do others have this issue? I have tried re-syncing and changing to manual time setting etc, but no joy.

  • Navigating forms

    I used to use Mircrosoft Word to create document templates that would take information from an Excel Spread Sheet and populate the document with the data. It was very easy. I would simply have to write    Dear [[First Name]],         and the brackets