Converting UTF8 to WE8MSWIN1252

I understand the WE8MSWI1252 is not a subset of UTF8 and that to use "ALTER DATABASE CHARACTER SET ....", the new characterset has to be a superset of the current.
Thou i ran the database scanner utility (csscan.exe) specifying the target character set to be WE8MSWIN1252 and it detected the current to be UTF8. This utility reported only very few/minor dataconverstion issues, which can be easily ignored in my case.
My question is can I still execute "ALTER DATABASE CHARACTER SET..." command???
Any help is greatly appreciated!
Thanks,
-B

This is the appropiate forum for your question. Post it there as well.
Forums Home » Oracle Technology Network (OTN) » Products » Database » Globalization and NLS
Globalization Support
Joel Pérez

Similar Messages

  • Convert UTF8 to WE8ISO8859P1 or WE8ISO8859P15

    Hi!
    If got the following situation:
    I've got a database with the character set WE8ISO8859P1.
    I've got a second database with UTF8.
    I think all databases are 10.2.xx
    There is a pl/sql interface on the WE8ISO8859P1 Database which reads data from the UTF8 database via database link.
    But after inserting UTF8-data into the WE8ISO8859P1 database, the are not converted correctly automaticaly.
    How can i convert UTF8-data within my WE8ISO8859P1 database to WE8ISO8859P1-data?
    Is there a standard function within the WE8ISO8859P1 database?
    e.g. Select standard_convert_func(my_col, 'UTF8', 'WE8ISO8859P1') from myTable@db_link
    Or is the better way to convert this utf8-data to WE8ISO8859P1 within the UTF-8 database?
    insert into my_interface_tabele(my_col) select standard_convert_func(my_col, 'UTF8', 'WE8ISO8859P1') from my_utf8_base_tabel;
    Thank you for your help!
    Best regards,
    Thomas

    Hi!
    Within my ISO-DB i receive the following results in SQL*Plus:
    SQL> select convert(DN_DIENSTTITEL, 'WE8ISO8859P1', 'UTF8')
    2 from dn_stammtest@lsal_n_pep_test_link;
    CONVERT(DN_DIENSTTITEL,'WE8ISO8859P1','UTF8')
    A K B A R I A N `ag6 ¿ N a t a l
    SQL> ed
    Datei afiedt.buf wurde geschrieben
    1 select dump(DN_DIENSTTITEL)
    2* from dn_stammtest@lsal_n_pep_test_link
    SQL> r
    1 select dump(DN_DIENSTTITEL)
    2* from dn_stammtest@lsal_n_pep_test_link
    DUMP(DN_DIENSTTITEL)
    Typ=1 Len=40: 0,65,0,75,0,66,0,65,0,82,0,73,0,65,0,78,0,32,1,96,1,97,1,103,4,54,32,172,0,32,0,78,0,9
    I will contact the DB-Admin to do this select within the UTF8 DB.
    Best regards.
    Thomas

  • Converting UTF8 to US7ASCII

    Hello,
    We have a database which is 9i and has a NLS_CHARACTERSET set to US7ASCII.
    We created a new database (version 10g 10.2.0.2.0) on a new server which has a NLS_CHARACTERSET set to UTF 8. When we exported the database from the 9i database to 10g database, obviously because of the NLS_CHARACTERSET there was an issue of data corruption (Columns width increasing by 3 times, understandable). Is there a way to convert the UTF8 character set on the 10g database to US7ASCII character set, and then re-importing and exporting the 9i database to 10g database. I know we can convert a subset to superset. I want to find out if there is a way to convert a superset to a subset.
    Or do I have to re-create the whole database again.
    Thanks,
    Kalyan

    You shouldn't have problem migrate a US7ASCII to UTF8. UTF8 is superset of US7ASCII.
    The problem you are facing is when your schema has column defined as CHAR(20) for example, a single byte character becomes a two-byte character in UTF8, you now have Data Truncation issue. Same problem can also happens in varchar type.
    You can't change from superset to subset for obvious reason but you can convert your 9i from US7ASCII to UTF8 if you like.
    Also run this character set scanner before you make conversion.
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96529/ch11.htm#1005049

  • Convert utf8 char in a NSString

    Hi to all! I recieve from my server a XML file. I use NSXMLParser to retrieve attributes and values. The problem is this: i've many utf8 encoded char in many attributes, and i recieve them in NSStrings.
    //in - (void)parser:(NSXMLParser *)parser didStartElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName attributes:(NSDictionary *)attributeDict DELEGATE
    NSString *myAttribute = [[NSString alloc] initWithString:[attributeDict valueForKey:@"attribute"]];
    The NSString at key "attribute" can contain UTF8 char as ò and similar.
    How can i decode them to obtain a NSString with ò instead of ò and so on?

    I understood that you helped me, I will need to use
    parseInt to convert the string to number...No.
    Assuming you've got the "15:00" part, say in a String called timeStr, you'd just pass that to dateFormat.parse(timeStr)
    but I
    need to know where in the String are my numbers...
    isn't it? How may I do this? Well, that depends.
    What's your logic for finding it manually? Is it the first occurrence of any numerical digit in the string? Is it at a known, fixed character index? Some other logic?

  • Convert UTF8 to 8-bit intellegently

    I need to convert a UTF8 file into 8-bit.
    Of coarse, there is no way to do this perfectly, but it would be nice if there was a function that would make an intellegent substitution for characters that aren't in ASCII. For instance, the curly double quotes character would become a normal double quotes.
    I tried using String.getBytes("ISO-8859-1"), but it just subsitutes a question mark for all characters that aren't in ASCII.
    Anyone know of a function that can do this?

    just wrote Very long winded method for most of the common utf-8
    //list of unexcepted frequent chars: �����������������������������������������������������������
    StrAllData = StrAllData.replaceAll("�", "\"");
              StrAllData = StrAllData.replaceAll("�", "\"");
              StrAllData = StrAllData.replaceAll("�", "\'");
              StrAllData = StrAllData.replaceAll("�", "\'");      
              StrAllData = StrAllData.replaceAll("�", "A");                StrAllData = StrAllData.replaceAll("�", "A");
              StrAllData = StrAllData.replaceAll("�", "A");                StrAllData = StrAllData.replaceAll("�", "A");
              StrAllData = StrAllData.replaceAll("�", "E");                StrAllData = StrAllData.replaceAll("�", "E");
              StrAllData = StrAllData.replaceAll("�", "E");                StrAllData = StrAllData.replaceAll("�", "E");
              StrAllData = StrAllData.replaceAll("�", "I");                StrAllData = StrAllData.replaceAll("�", "I");
              StrAllData = StrAllData.replaceAll("�", "I");                StrAllData = StrAllData.replaceAll("�", "I");
              StrAllData = StrAllData.replaceAll("�", "N");                StrAllData = StrAllData.replaceAll("�", "O");
              StrAllData = StrAllData.replaceAll("�", "O");                StrAllData = StrAllData.replaceAll("�", "O");
              StrAllData = StrAllData.replaceAll("�", "A");                StrAllData = StrAllData.replaceAll("�", "E");      
              StrAllData = StrAllData.replaceAll("�", "E");                StrAllData = StrAllData.replaceAll("�", "E");      
              StrAllData = StrAllData.replaceAll("�", "E");               StrAllData = StrAllData.replaceAll("�", "I");      
              StrAllData = StrAllData.replaceAll("�", "I");                StrAllData = StrAllData.replaceAll("�", "B");      
              StrAllData = StrAllData.replaceAll("�", "I");                StrAllData = StrAllData.replaceAll("�", "N");      
              StrAllData = StrAllData.replaceAll("�", "a");                StrAllData = StrAllData.replaceAll("�", "O");      
              StrAllData = StrAllData.replaceAll("�", "a");               StrAllData = StrAllData.replaceAll("�", "a");
              StrAllData = StrAllData.replaceAll("�", "a");               StrAllData = StrAllData.replaceAll("�", "a");
         StrAllData = StrAllData.replaceAll("�", "a");               StrAllData = StrAllData.replaceAll("�", "c");               
         StrAllData = StrAllData.replaceAll("�", "e"); StrAllData = StrAllData.replaceAll("�", "e");
         StrAllData = StrAllData.replaceAll("�", "e");               StrAllData = StrAllData.replaceAll("�", "e");
              StrAllData = StrAllData.replaceAll("�", "e");               StrAllData = StrAllData.replaceAll("�", "i");
              StrAllData = StrAllData.replaceAll("�", "i");               StrAllData = StrAllData.replaceAll("�", "i");
              StrAllData = StrAllData.replaceAll("�", "i");               StrAllData = StrAllData.replaceAll("�", "n");               
              StrAllData = StrAllData.replaceAll("�", "o");               StrAllData = StrAllData.replaceAll("�", "o");
              StrAllData = StrAllData.replaceAll("�", "u");               StrAllData = StrAllData.replaceAll("�", "e");
              StrAllData = StrAllData.replaceAll("�", "o");               StrAllData = StrAllData.replaceAll("�", "u");
              StrAllData = StrAllData.replaceAll("�", "o");               StrAllData = StrAllData.replaceAll("�", "u");
              StrAllData = StrAllData.replaceAll("�", "o");               StrAllData = StrAllData.replaceAll("�", "u");
              StrAllData = StrAllData.replaceAll("�", "y");               StrAllData = StrAllData.replaceAll("�", "Z");               
              StrAllData = StrAllData.replaceAll("�", "o");               StrAllData = StrAllData.replaceAll("�", "y");
              StrAllData = StrAllData.replaceAll("�", "z");               StrAllData = StrAllData.replaceAll("�", "e");
              StrAllData = StrAllData.replaceAll("�", "S");               StrAllData = StrAllData.replaceAll("�", "o");
              StrAllData = StrAllData.replaceAll("�", "s");               StrAllData = StrAllData.replaceAll("�", "Y");

  • Convert UTF8 clob charset

    Thanks for your advice.
    Actually NLS support may not apply to my case because I need to specify different charset when I need the CLOB UTF8 data from my database. Maybe this time I need Big5, next time I need GBK. The thing is, I know there is a function to convert varchar2 from UTF8 to different charset.
    Question is: can I convert CLOB as well?
    Thanks for any advice!

    There are no SQL convert functions to handle CLOB conversion in Oracle8i . In 9i all SQL functions for VARCHAR2 will work with CLOBs too.
    Why do you need to have do the conversion explicitly, if you set your client NLS_LANG character set to ZHT16BIG5 or ZHT16GBK , they these CLOBs should be converted to the client Character set automatically.

  • Converting "UTF8" files to other encodings in Text Wrangler

    Hi and thanks for your help
    I have several text files I can easily use in different ways using Text Wrangler.
    I need to convert text files originally written with different enchodings and I get errors.
    I can overcome this using this script:
    tell application "TextWrangler"
       tell document 1
           set line breaks to Unix
           set encoding to "Cyrillic (Windows)"
       end tell
    end tell
    However my attempts to create a loop always return this error
    TextWrangler got an error: An unexpected error occurred while processing an Apple Event (MacOS Error code: -10000)
    What is wrong with my script?
    set inputfolder to (choose folder)
    set theFiles to list folder inputfolder without invisibles
    tell application "TextWrangler"
    repeat with x from 1 to count of theFiles
              set thefile to item x of theFiles
              set inputfile to quoted form of (POSIX path of inputfolder & thefile)
      set line breaks to Unix
           set encoding to "Cyrillic (Windows)"
       end tell
    end repeat

    If its not typo you have the end tell inside the end repeat. Should be the other way.
          set encoding to "Cyrillic (Windows)"
       end tell
    end repeat
    end
    That shouldn't even compile.

  • Convert Characterset from WE8MSWIN1252  to AL32UTF8

    Dear Friends,
    How to conver Characterset from WE8MSWIN1252 of Oracle 10.2.0.2 Database (32 bit Ent Edition) to AL32UTF8 on 11.2.0.2 (64 Bit Std Edition) during 11g DB Upgrade.
    How to check the Limitations of Characterset conversions and the objects which will be affected during the conversion.
    Regards,
    DB

    If you want help from this forum, i recommend:
    1) Search before post
    2) close your threads when it will be answered:
         839396     
    Handle:     839396
    Status Level:     Newbie
    Registered:     Feb 23, 2011
    Total Posts:     21
    Total Questions:     14 (14 unresolved)

  • 9.2 convert ASCII to UTF8 welsh language

    hello
    I have a 9.2 ascii database that i cant convert to UTF8 yet
    1 for an output (util file) i need to convert an ascii text string to utf-8 on export
    2 i have two characters that are not supported by ascii, ŵŷ the users will represent these by typing w^y^
    I tryed using UNISTR but non of the characters below are corectly converted
    SELECT UNISTR(ASCIISTR( '剔搙)) FROM DUAL ;
    how would you recomend converting a ascii latin 1 extended string to UTF-8 for export?
    is it sencible to use the character replacement plan above for ŵŷ?
    thanks
    james

    Probably the unconverted characters are not contained in the first charset.
    If this is right.
    http://en.wikipedia.org/wiki/Windows-1252
    ...there is no conversion for values outside the first charset.
    But I may made a mistake.
    Are you sure Â, â, î, Ê, ê and ô are in the 1252 charset?
    I am not able to see if there is a difference between the similar chars in the table on wikipedia and the ones you posted, that is why I asked.
    Anyway this output seems to verify my indication.
    Processing ...
    SELECT convert ('Ââî€Êêô','WE8MSWIN1252','UTF8') FROM DUAL
    Query finished, retrieving results...
    CONVERT('¨âêô','WE8MSWIN1252','UTF8')
    ¨¨¨¨                                    
    1 row(s) retrieved
    Processing ...
    SELECT convert ('Ââî€Êêô','UTF8','UTF8') FROM DUAL
    Query finished, retrieving results...
    CONVERT('¨âêô','UTF8','UTF8')
    ¨âêô                         
    1 row(s) retrieved
    Processing ...
    SELECT convert ('Ââî€Êêô','UTF8','WE8MSWIN1252') FROM DUAL
    Query finished, retrieving results...
    CONVERT('¨âêô','UTF8','WE8MSWIN1252')
    ¶¨Ç?¶îÇ?¶¨Ç?¶ô                          
    1 row(s) retrieved
    Processing ...
    SELECT convert ('Ââî€Êêô','WE8PC858','UTF8') FROM DUAL
    Query finished, retrieving results...
    CONVERT('¨âêô','WE8PC858','UTF8')
    1 row(s) retrieved
    Processing ...
    SELECT convert ('Ââî€Êêô','UTF8','WE8PC858') FROM DUAL
    Query finished, retrieving results...
    CONVERT('¨âêô','UTF8','WE8PC858')
    ƒ??Ç?¶¯Ç?ƒ??ƒ??Ç?                   
    1 row(s) retrievedSome characters are not supported on my DB so try these queries on yours to prove it.
    SELECT convert ('Ââî€Êêô','WE8MSWIN1252','UTF8') FROM DUAL;
    SELECT convert ('Ââî€Êêô','UTF8','UTF8') FROM DUAL;
    SELECT convert ('Ââî€Êêô','UTF8','WE8MSWIN1252') FROM DUAL;
    SELECT convert ('Ââî€Êêô','WE8PC858','UTF8') FROM DUAL;
    SELECT convert ('Ââî€Êêô','UTF8','WE8PC858') FROM DUAL;Bye Alessandro

  • Convertion of Danish characters in UTF8

    Hello everybody,
    I am facing a strange situation on my project.
    We are not able to convert a special/national Danish character into UTF (e.g. convert “JordbÿŠr” to “Jordbær JordbÿŠr”).
    I am using the built-in function CONVERT and an Oracle 9.2 database.
    Do you have any idea how can I solve this?
    Thanks,
    Ionut

    Hi Ionut,
    How do you tell it doesn't work?
    In my system I have plenty of Jordbær:
    SQL> select * from nls_database_parameters where parameter='NLS_CHARACTERSET';
    PARAMETER                      VALUE
    NLS_CHARACTERSET               WE8MSWIN1252
    SQL> select 'Jordbær', convert('Jordbær', 'WE8MSWIN1252', 'UTF8') from dual;
    'JORDBæ CONVERT
    Jordbær Jordb+r
    SQL>@Ravi Kumar, you reversed the arguments, I think.
    Regards
    Peter

  • How to convert back from UTF8 to ISO-8859-1 encoding?

    hi,
    I have a bunch of XML files which were wrongly encoded, and we lost all our accent characters.
    ie: é become é
    so how can I recover my XML files using powershell?
    so I want to change all the UTF8 ecoded characters back to the original ISO accent character
    é -> é
    I try this:
    1")
    $utf8 = [System.text.Encoding]::UTF8
    $utfBytes = $utf8.GetBytes("é")
    $isoBytes = [System.text.Encoding]::Convert($utf8, $iso, $utfBytes)
    $iso.GetString($isoBytes)
    but doesnt works.
    so is there a way to do this in powershell?
    I have to scan hundreds of files...
    thanks.

    You can't.  UTF-8 strips all of the information from the characters so you cannot know which characters are which.  If you know which characters you need to fix (requires knowing the spelling of the words) you could possible develop an matrix of
    replacements. There is no simple one line method.
    ¯\_(ツ)_/¯

  • How to set Spanish, ESN CP1252, , oracle Character Sets WE8MSWIN1252

    select * from NLS_DATABASE_PARAMETERS
    database characterset is
    NLS_CHARACTERSET               AL32UTF8
    NLS_NCHAR_CHARACTERSET         AL16UTF16 
    NLS_LANGUAGE                   AMERICAN
    NLS_TERRITORY                  AMERICAselect * from NLS_INSTANCE_PARAMETERS ;
    PARAMETER                         VALUE
    NLS_LANGUAGE                      SPANISH
    NLS_TERRITORY                     SPAINhow to set Spanish, ESN CP1252, , oracle Character Sets WE8MSWIN1252
    Please suggest.
    Thanks In advance

    Is it really ok to convert AL32UTF8 to WE8MSWIN1252?
    NLS_CHARACTERSET AL32UTF8
    to
    NLS_CHARACTERSET WE8MSWIN1252
    please suggest

  • How to setup NLS_LANG on Windows XP

    Hi,
    We have an oracle database with character set AMERICAN_AMERICA.US7ASCII setting. and our
    production application inserts different language characters directly to the database without any
    UTF8 conversion. Another function has been coded which can convert the different character set
    to UTF8 via using convert() function before the client side can be used. it has been proved it works
    fine with a PHP application which can show UTF8 on the webpage, based on a unix-box server.
    Now I have installed a oracle application express server with character set AMERICAN_AMERICA.WE8MSWIN1252
    (found from registry) on my windows XP. After reading the article from metalink
    https://metalink.oracle.com/metalink/plsql/f?p=130:14:1393556852351104955::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,158577.1,1,1,1,helvetica
    , I understood that oracle server side would convert the character to the client side if it found
    their character set are difference, which is not what I want in this case, so I should set my client side as same as
    server side so that no any conversion therefore the converted UTF8 code can directly delivered to front application.
    I have try to set the oracle client side as AMERICAN_AMERICA.US7ASCII, WE8ISO8859P1 or others, none of them works.
    Give you a simple instance here is that
    1.Insert ZHS16CGB231280(chinese code) to Production database(US7ASCII)
    2. retreive it by convert('string', 'UTF8', 'ZHS16CGB231280')
    3. send to client side(characterset US7ASCII)
    doesn't work
    Does anyone has experience and point me out what wrong it is. it lasts me several weeks trying to
    figure out, but failure.
    Thanks for your help
    Eric
    [email protected]

    Generally speaking, if you want to store chinese characters, your database character set must be able to store it correctly without using CONVERT function: you could use one of the
    universal character set. I'm surprised that you are able to store chinese characters in the US7ASCII character set but I'm not surprised that it does not work in other cases.
    The OTN NLS_LANG FAQ give some common values under Windows, assuming that each Windows node will only be used in one given national environment.

  • Reading Data from SQL Server 2000 Linked Servers

    Hello,
    I have a colleague who wants to read data from a OO4O driver Linked Server my FRENCH_FRANCE.US7ASCII Oracle 8i database.
    He's got some troubles to read data with "é", "à", and so on. They always replaced by "?"
    Since I have ask him to use SQL Developer on his server to see if he has got configuration problems, his PL/SQL queries return "square figure" characters (not the usual "²") instead of "?".
    For info, I've said it to use CONVERT(column, 'FR8DEC', 'US7ASCII) but it doesn't work too (also try with 'UTF8' or 'WE8MSWIN1252')
    Is there a way with the SQL Server collation ???
    How can I solve his problem ???

    The select query returns the following infos :
    PARAMETER VALUE
    NLS_CHARACTERSET US7ASCII
    NLS_NCHAR_CHARACTERSET US7ASCII
    My colleague uses the 10.2.0.1.0 client with ODAC 10.2.0.2.20.
    His SQL Server linked server is 2000 with the SQL_Latin1_General_CP437_BIN (he tried the use of the distant NLS_LANG option and the no set the NLS_LANG too with no results).
    Thanks in advance,
    Yours,
    Mickaël

  • How pass ext characters to a stored proc by odbc when enable sqlserver syntax is on??

    how pass french characters or extended characters to a stored procedure by odbc
    error: ORA-01756: quoted string not properly terminated
    une chaine entre apostrophhes ne se termine pas correctement
    oracle Retrieving extended characters thru ODBC
    PL/SQL procedure parameters
    hi, i hope you can help to me.
    I have a problem with french and german characters.
    i have a little stored procedure than return what i'm passing to him.
    see these example: (the second one work fine on plsql)
    first exemple:
    1) i created a new odbc dsn
    2) i'm going into sqlserver migration tab to choose
    Enable Exac Syntax.
    3) i'm open Winsql (this is a odbc tools)
    http://www.indus-soft.com/winsql/
    4) i'm write
    exec ksp_test 0,'HiLLO ORACLE'
    i receive this error:
    Error: ORA-01756: quoted string not properly terminated
    (State:S1000, Native Code: 6DC)
    I trying to changed too the NLS_LANG in the registry
    like FRENCH_CANADA.WE8ISO8859P1
    French_France.WE8ISO8859P1
    but without any success..
    i got the same problem with
    oracle 9 database with utf8 characters set.
    oracle 8.1.7 with iso8859p1 characters set.
    i trying all latest odbc driver from oracle website.
    second exemple:
    SQL> variable mytest refcursor;
    SQL> exec ksp_test (0,'HiLLO ORACLE',:MYTEST);
    PL/SQL procedure successfully completed.
    SQL> PRINT MYTEST;
    Your Database Value
    HiLLO ORACLE
    CREATE OR REPLACE PACKAGE KSP_PLSQLRSETPKG
    AS
    TYPE RCT1 IS REF CURSOR;
    END;
    CREATE OR REPLACE PROCEDURE KSP_TEST (
    PATCH INT DEFAULT 0,
    PONC VARCHAR2,
    RC1 IN OUT KSP_PLSQLRSETPkg.RCT1
    AS
    BEGIN
    OPEN RC1 FOR
    SELECT PONC "Your Database Value" FROM DUAL;
    FROM DUAL;
    RETURN ;
    END;
    i'm trying also different nls setting but no good result.
    AMERICAN_AMERICA.US7ASCII
    AMERICAN_AMERICA.WE8MSWIN1252
    FRENCH_CANADA.WE8DEC
    FRENCH_CANADA.UTF8
    FRENCH_CANADA.WE8MSWIN1252
    FRENCH_FRANCE.WE8DEC
    FRENCH_FRANCE.UTF8
    FRENCH_FRANCE.WE8MSWIN1252
    is working well on sqlplus but not by odbc..
    also..
    i'm declare a variable and
    i set
    v_variable := 'id'
    and the procedure return the good syntax...
    i think is a odbc driver problem....
    the driver don't want to accept a extended characters set by a parameters coming from the procedure.
    can you confirm to me ..this is a major bug for the driver..
    my procedure is very basic to make a little test.
    did you try my procedure to be sure you have the same problem?
    i try with a oracle instance utf8,WE8MSWIN1252 and
    i got always the same problem.
    if i write insert into test values ('di');
    everything is fine...but when i call the procedure...
    the procedure don't want to accept any german..french or any extended characters...
    our application is working by odbc driver.
    i'm pretty sure is a bug in the driver ...the bug is coming only when i select "ENABLE EXEC SYNTAX" IN THE DSN (SQLSERVER MIGRATION SECTION) ... i try with Shema Database and Owner and Empty and i got
    always the same problem
    exec KSP_TEST 0,'TiEST'
    ------------------------>>>>>>>NOT WORKING.
    BUT IF I WRITE
    CALL KSP_TEST (0,'TiEST')
    ------------------------->>>>IS WORKING
    if i select enable exec or i unselect enable exec...
    the CALL KSP_TEST...... is always working properly.
    BETWEEN THESE SYNTAX THE NLS_LANG IS NEVER CHANGED....
    IS WORKING.....THE NLS_LANG IS GOOD.......because i make a little modification in procedure to be sure the INSERT IS inside the database CORRECTLY.
    CREATE OR REPLACE PROCEDURE KSP_TEST
    PATCH INT,
    PONC VARCHAR2
    AS
    v_test varchar2(100);
    BEGIN
    v_test := 'test';
    INSERT INTO YYY VALUES (PONC);
    END;

    If  "just using Crystal Reports XI R2" means using Crystal Report Viewer and do not want to see the prompt, please follow the below steps.
    1. Select the report you want to see
    2. Select "Process" tab
    3. Select Parameters menu under the process tab.
    4. You would see two date parameters there.
    Select the [Empty] value for each parameter and fill out the value you want.
    Hope this would help.

Maybe you are looking for