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

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 ?

  • Issue of inserting greek characters into Oracle database using ICAN505

    Hi All,
    We are currently facing an issue of inserting greek characters into Oracle database using ICAN505.
    We receive a file containing greek characters.The values from the file should be inserted into the database.We are reading the file using file OTD with default encoding.
    The file can contain english characters too other than greek characters.
    The database NLS_CHARACTERSET is AL32UTF8.
    When I insert using an insert statement directly ,the values get inserted properly into the DB table.
    Inserting the same values using code results in improper characters getting inserted into the table in the database.
    Please help....
    Thanks in advance !!

    Globalization forum?
    Globalization Support
    It works for SQL Developer, which does not depend on NLS_LANG, so I suspect a problem with your NLS settings.

  • Special Characters in Oracle

    Hi,
    We have a requirement where we need to load data into Oracle . We are creating a CSV file and loading data to Oracle tables using SQL Loader scripts. There are certain records in the CSV Files that have special characters. For example 20°/ 60°/ 85°. The data is coming fine when in the CSV file, but when it is loaded in Oracle tables it is displayed as 20¿/ 60¿/ 85¿. Please share if you have any info on this.
    Character set value:
    SELECT value
    FROM nls_database_parameters
    WHERE parameter ='NLS_CHARACTERSET';
    Result:AL32UTF8
    Regards
    AM

    Hi,
    where do you load those files? On the server or on the client? You have to look at the NLS_LANG setting on the OS. If it is not properly set, then it uses ASCII. So set NLS_LANG properly, or use the CHARACTER keyword in the controlfile of SQLLOADER. More information in the manual: http://download.oracle.com/docs/cd/E11882_01/server.112/e16536/ldr_control_file.htm#i1005287
    Herald ten Dam
    http://htendam.wordpress.com

  • 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&"
    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&"
    How to solve this problem?
    How to insert & into table without &
    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
    ------------------------------------------------------------------------------

  • 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?

  • Special characters in XML built using the DOM object

    I am using the DOM object to build xml but I am having problems with special characters. I have a Element object that I create attributes in. Most special characters like the &, ", or ' are translated for me (amp; quot;, acute; put a & in front of those, if I do it here the browser will translate them into the logical character) but I am having a problem with the � character. The DOM object does not translate this. If I do it my self to(eacute; same here add a & in front) before adding the string to the attribute then the DOM object translates it to (amp;eacute; add a & in front of the amp; not in front of the eacute;). As you can see the DOM object translates the & instead of recognizing that it is a HTML character. Can anyone give me a hand?

    I am building this XML in a servlet so ,right, DOM does process XML (even though a valid HTML file can be loaded into a DOM object) but if you build XML using DOM then write the XML out using PrintWriter and Transformer objects this will cause the XML to print out in your browser. If you view source on this XML you will see that the DOM object has translated all special characters to there &xxxx; equivalent. For a example: when the string (I know "cool" java) gets loaded into a attribute using the DOM object then wrote back out it looks like (I know &xxx;cool&xxx; java) if you view the source in your browser. This is what it should do, but the DOM object is not change the � to the "&xxxxx;". This servlet is acting as a gateway between a Java API and a windows asp. The asp will call the servlet expecting to get XML back and load it directly into a DOM object. When the windows DOM object gets the xml that I am returning in this servlet is throws a exception "invalid character" because the � was not translated to &xxxx; like the other characters were. According to the book HTML 4 in 24 hours (and other references) the eacute; or #233; are how you say "�" in HTML or XML. How do you say it?

  • Loading Special Characters

    Hey everyone, hopefully this is really easy. I have a really
    simple easy quiz that pulls questions off a .txt file. Trouble is,
    whenever a question uses the special character "&", flash
    doesn't display it. Almost as if it isnt there. If I push things
    further, it actually displace a space, or in some cases seems to
    delete whatever letter was in front of it!?
    Does anyone know whats going on? Does anyone know what I need
    to do to the data sheet (or flash) to let it full up % and other
    special characters like $, #, or @ ??

    Hi Berall,
    When you load up data, it's assumed to be URL encoded. That
    means that
    special characters like the ampersand (&) are used to
    denote data sections
    rather than being taken literally. In this case, the
    ampersand denotes the
    beginning of a variable in the same way as if you had
    included it in a URL:
    http://www.someserver.com/script.php?var1=some_data&variable2=some_other_data
    There are two simple solutions to this:
    1. Replace all occurances of "&" with "&". When
    teh data is loaded,
    apply the function decode(loadedText) on it.
    2. Create your own parser. Decide which character (or set of
    characters)
    will represent an ampersand. A simple function like this will
    parse it out
    and return the correct string:
    //assume the variable "loadedtext" is your loaded data
    var ampersandRepresentation:String="%amp%"; //Or however you
    want to
    represent it
    var realString:String=new String(loadedtext); //We just make
    sure it's a
    real string object here so that we can use the required
    string class methods
    var
    returnString:String=realString.split(ampersandRepresentation).join("&");
    //returnString now contains the correct ampersand-ed string
    If you're wondering how this is accomplished, basically the
    "realString"
    string is split up (the split command) into a numbered array
    anywhere where
    the string is found (in this case the '%amp%'...but this can
    be anything you
    want). The array is then joined up again, in sequence, using
    the ampersand
    character to join the elements. Again, you could replace this
    with any
    character or string.
    This is effective and *fast*...it uses low-level Flash
    routines to
    transform the data. You could use other routines to analyze
    the string one
    character at a time but it's processor intensive and you end
    up with the
    same result.
    Hope this helps.
    Regards,
    Patrick Bay
    BAY NEW MEDIA
    "Berall" <[email protected]> wrote in
    message
    news:[email protected]...
    > Hey everyone, hopefully this is really easy. I have a
    really simple easy
    > quiz
    > that pulls questions off a .txt file. Trouble is,
    whenever a question uses
    > the
    > special character "&", flash doesn't display it.
    Almost as if it isnt
    > there. If
    > I push things further, it actually displace a space, or
    in some cases
    > seems to
    > delete whatever letter was in front of it!?
    >
    > Does anyone know whats going on? Does anyone know what I
    need to do to the
    > data sheet (or flash) to let it full up % and other
    special characters
    > like $,
    > #, or @ ??
    >

  • ### 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 ...)

  • Identify special characters in oracle 9i

    HI,
    I want to identify the special characters in a table.Right now i am using oracle 9i version.
    Please help us.

    You can use following pl/sql block for this purpose. It will check if there is any special character in a field(item description here) and will display that display the position and ascii value of that special character. Later you can write another query(if needed) to remove those special characters.
    Modify the query as needed.
    declare
    l_desc VARCHAR2(90);
    l_length NUMBER;
    l_cnt NUMBER := 1;
    l_char VARCHAR2(20);
    l_spc_char NUMBER := 0;
    CURSOR c1 is select segment1, description, length(description) length1 from mtl_system_items_b where 1=1 rownum < 10000  and segment1 = '00000942304A330'
    and organization_id = 156;
    begin
    FOR c_rec IN C1
    LOOP
    l_cnt := 1;
    l_spc_char := 0;
    WHILE l_cnt <= c_rec.length1
    LOOP
    l_char := SUBSTR(c_rec.description,l_cnt,1);
    IF (ascii(l_char) < 32 or ascii(l_char) > 126) then
    DBMS_OUTPUT.PUT_LINE('Character: '||l_char||' Position: '||l_cnt||' Ascii Value: '||ascii(l_char));
    l_spc_char := l_spc_char + 1;
    end if;
    l_cnt := l_cnt + 1 ;
    END LOOP;
    IF l_spc_char > 0 THEN
    DBMS_OUTPUT.PUT_LINE('Item: '||c_rec.segment1||' Description: '||c_rec.description);
    END IF;
    END LOOP;
    end;

  • Problem with flat file loading/Special characters

    Hi, All,
    We just migrated from Version 3.0B to BI7.0, and I've a problem which I can't handle for the moment. We are in Unicode, current codepage of the server is 4103 and codepage of frontend is 4110 (from SNL1 Transaction).
    I'm loading czech texts in my material, via CSV files. The CSV file is correct on my PC, I see the special characters.
    The problem is on my loading, whatever Character set I choose in the Infopackage (I choose Standard or Character Set Setting User-dependant), I cannot see the good characters.
    Does any one of you already encounter this kind of problem, and, if yes, how did you solve it ?
    Thanks

    hi,
    check out with your flat file letter's type, if it's in lower case letter's change them in
    upper case letter's. or otherwise change the infobject's type as-- select check box
    corresponding to lower case letter's in infoobject.
    if helpful provide points
    regards
    harikrishna.N

  • FrameMaker 8 Special characters in MIF file using hexcodes

    Hey,
    I'm creating a MIF-file from another system, and using hexcodes to create my special characters (\x8c for example).
    When importing it to FrameMaker 8 I'm only ending up with a space where this character is supposed to be.
    Using the same MIF-file in FrameMaker 7, it comes up with the character å(aring) as I'm expecting it to do.
    What do I do to make FrameMaker 8 read the hexcodes correctly?
    Regards,
    Monica Svanlind

    Monica,
    FM8 is now unicode aware and you should be using the unicode values
    instead of hex. If you use a codepage specific font, then using hex
    values may still display the correct character. FM8 will no longer
    display characters from Registry mapped codepages (e.g. Arial CE) for
    WGL TT and OTF Pro fonts properly - you need to use the unicode value.

  • Apply embedded fonts to special characters in spark textArea using tlf

    By setting fontfamily directly to textarea in mxml fonts get applied to special characters. But using tlf and setting fontfamily it does not apply.
    style.css ::
    @font-face
        src: URL("/Assets/Fonts/GandhariUnicode-Bold.otf");
        fontFamily: "GandhariUnicode-Bold";
        embedAsCFF: true;
    snippet of source code ::
    textArea.textFlow.interactionManager.selectRange(beginIndex, endIndex);
    var textLayoutFormat:TextLayoutFormat = getTextLayoutFormat();
    textLayoutFormat.fontLookup = FontLookup.EMBEDDED_CFF;
    textLayoutFormat.fontFamily ="GandhariUnicode-Bold";   
    textLayoutFormat.renderingMode = RenderingMode.CFF;

    Please try the code as follows.
    (1)
    [Embed(mimeType="application/x-font", exportSymbol="GandhariUnicode-Bold", embedAsCFF="true", fontWeight="bold", source="Assets/Fonts/GandhariUnicode-Bold.otf", fontName="gandhariUnicode-Bold")]
    var GandhariUnicode-Bold:Class;
    var textLayoutFormat:TextLayoutFormat = new TextLayoutFormat();
    textLayoutFormat.fontLookup = FontLookup.EMBEDDED_CFF;
    textLayoutFormat.fontFamily ="gandhariUnicode-Bold";   
    textLayoutFormat.renderingMode = RenderingMode.CFF;
    textArea.textFlow.hostFormat = textLayoutFormat;
    textArea.textFlow.flowComposer.updateAllControllers();
    Or (2)
    [Embed(mimeType="application/x-font", exportSymbol="GandhariUnicode-Bold", embedAsCFF="true", fontWeight="bold", source="Assets/Fonts/GandhariUnicode-Bold.otf", fontName="gandhariUnicode-Bold")]
    var GandhariUnicode-Bold:Class;
    textArea.textFlow.fontLookup = FontLookup.EMBEDDED_CFF;
    textArea.textFlow.fontFamily ="gandhariUnicode-Bold";   
    textArea.textFlow.renderingMode = RenderingMode.CFF;
    textArea.textFlow.flowComposer.updateAllControllers();

  • Finding special characters in a columns using SQL

    Hi,
    I have a column (Object_Name) which accepts character values. I want to find out such kind of records which has special charaters in my columns Object_Name. Please let me know, how do I write SQL statement for the same.
    Thanks for your time in advance.

    To find, for example, a comma in the OBJECT_NAME column try:
    SELECT OBJECT_NAME
      FROM MYTABLE
    WHERE INSTR(OBJECT_NAME,',')>0;To find multiple special characters, for example @ # + - _ , . : ; at same time try:
    SELECT OBJECT_NAME
      FROM MYTABLE
    WHERE INSTR(TRANSLATE(OBJECT_NAME,'@#+-_,.:;','@@@@@@@@@'),'@')>0;add a @ to the string '@@@@@@@@@' each time you add a character to the string '@#+-_,.:;'
    max

  • Handling Special Characters in Oracle JDBC et al

    Hi all
    I am writting a programme to do the following ..
    a)Download xml data from the internet... by means of URL openConnection etc.
    b) Insert parts of the xml data into a oracle database ...
    Quite simple .. but ;)
    How ever there is a integerity constrain of NOT NULL and UNIQUE on one of the columns on the database ...
    if the word Galen exists and the code tries to insert G�len ( note � is a character on its own NOT a with ' )
    its gives a Integrity violation.
    I tried the following
    String name = "G�len";/// comming from xml after parsing etc ...
    Statement stmt = conn.createStatement();
    stmt.executeUpdate("INSERT INTO ABC VALUES("+name+")" and also tried
    String name = "G�len";/// comming from xml after parsing etc ...
    PreparedStatement ps = conn.prepareStatement();
    ps.setString(1,name);
    ps.executeUpdate("INSERT INTO ABC VALUES( ? )"); and few other variations to the above procedure ....
    Can any one tell me what could be the reason one possible cause could that Oracle does a transparent character set conversion on all data that it is about to update / insert ... If so what is the work around cause "Galen" and "G�len" are definatly two different names..
    Also interestingly I tries to execute the following query
    SELECT name FROM ABC WHERE name = 'G�len' vie jdbc using the above methods and it returns a emty result set.
    So while doing a query oracle refuses to accept G�len as a existing word where as when the time comes to insert G�len it issues a integrity constraint violation :(
    O/S for client code and Oracle server : Compaq Tru64 UNIX
    Characters set for Compaq Tru64 UNIX V5.0A : ISO8859_1
    Character set for Oracle is US7ASCII

    You should use Prepared statements, it's easier and faster.
    In your code you have mixed it up a bit. You wrote:
    String name = "G�len";/// comming from xml after parsing etc ...
    PreparedStatement ps = conn.prepareStatement();
    ps.setString(1,name);
    ps.executeUpdate("INSERT INTO ABC VALUES( ? )");
    It should be
    String name = "G�len";/// comming from xml after parsing etc ...
    PreparedStatement ps = conn.prepareStatement("INSERT INTO ABC VALUES( ?)");
    ps.setString(1,name);
    ps.executeUpdate();
    In other words, you prepare your statements and then you just use the set methods and execute. If you're looping over the XML-file you should just prepare the staments onece and then use it over and over again. This is one of the strengths with PreparedStatements.
    Let's assume you have all your names in an array called name, use the following code instead:
    PreparedStatement ps = conn.prepareStatement("INSERT INTO ABC VALUES( ?)");
    for(int i=0; i < names.length();i++){
    ps.setString(1, names);
    ps.executeUpdate();
    Of course, you might use ArrayList or some other Collection instead, this is just to show how to reuse PreparedStatements.
    /Fredrik

Maybe you are looking for

  • Is it possible to activate an iPhone 4S with an inactive SIM card?

    I have the phone and a SIM card from my carrier, but the card hasn't been activated yet. I've read on the internet that it is possible to activate iPhones with inactive or old sim cards as long as they are from the appropriate carrier, but my card do

  • 2 phones on the same appleid

    My son and I both just bought the iphone 5c and set them both up on the same appleid as we have always done with ipad/ipods in the past.  When I update my payment, it automatically adds this to his phone. Is there a way to set up "users" under one ap

  • What are you using to create dynamic content?

    I'm new to the cisco DMP system and I'm trying to figure out how others are displaying dynamic content.  The built in designer is a bit limiting.  I've created a few elements in flash, but if the system does not like anything full-screen. I've used p

  • Is there a new iPhone 4 coming out?

    Ok, so my story is this -I bought myself an iPod 4th gen 80g then a few weeks later the 5th gen came out and i could have bought the 80gb 5th gen alot cheaper.Then I bought the iPhone 3G about March 2009 and a few weeks later the iPhone 3GS was annou

  • Unable to resolve sync conflict in 10.5.1

    Using 10.5 sync is now reporting a "conflict" which needs to be resolved. When I select "review conflicts now" it does launch the "conflict resolver" but has no open window to select the conflict and resolve it. Is there a plist or something I can cl