Convert 10.2.0.4 RDBMS from WE8ISO8859P1 to UTF8 without install new langua

We are in 11.5.10.2 Ebusiness suite with 10.2.0.4 RDBMS. thinking to take advantage a downtime to convert the darabase character set from WE8ISO8859P1 to UTF8 right now even we ONLY want to install and configure new language in year or two in the future. I have a lot of questions and hope someone can answer them
1) Is that ok to convert the database character set witout doing anything in the apps side? Not even change any setting in apps?
2) I know Oracle is recommned AL32UTF8 for E-business suite.. but for Rel 12 only. Am I have the right information?
3) I found someone post in one of the Forum in here .. that he use CSSCAN to scan the database but realized it only change the metadata not the user data..... I though CSSCAN is only for scanning to report potential data.. should not change anything in database? I wonder he mean CSaLTER instead.... but only metadata huh??
4) I also read some people use expdp/impdp to perform the character set conversion... but I also read that oracle recommend to use exp/import utility only. Is that right? What is the better method for character set conversion if both of them are valid path?
thanks Fushan

Hi
Apart from Srini inputs, here is my inputs.
*1) Is that ok to convert the database character set without doing anything in the apps side? Not even change any setting in apps?*
No issues to convert without adding new language in EBS.
*2) I know Oracle is recommend AL32UTF8 for E-business suite.. but for Rel 12 only. Am I have the right information?*
Please note that AL32UTF8 is not certified for Oracle E-Business Suite 11i.
Note.124721.1 Migrating an Applications Installation to a New Character Set:
This is documented in Note:222663.1
Note 179133.1 The correct NLS_LANG in a Windows Environment
Note 264157.1 The correct NLS_LANG on Unix Environments
*3) I found someone post in one of the Forum in here .. that he use CSSCAN to scan the database but realized it only change the metadata not the user data..... I though CSSCAN is only for scanning to report potential data.. should not change anything in database? I wonder he mean CSaLTER instead.... but only metadata huh??*
Please follow below blog, you will get clear picture
Changing the Database Character Set ( NLS_CHARACTERSET ) [ID 225912.1]
Note 276914.1 The National Character Set in Oracle 9i and 10g
Note 458122.1 Installing and Configuring Csscan in 8i and 9i (Database Character Set Scanner)
Note 745809.1 Installing and configuring Csscan in 10g and 11g (Database Character Set Scanner)
Note 444701.1 Csscan output explained
http://www.oracle-base.com/articles/10g/CharacterSetMigration.php
http://repettas.wordpress.com/2008/05/16/national-character-set-in-oracle-9i-and-10g/
http://avdeo.com/2010/11/01/converting-migerating-database-character-set/
*4) I also read some people use expdp/impdp to perform the character set conversion... but I also read that oracle recommend to use exp/import utility only. Is that right? What is the better method for character set conversion if both of them are valid path?*
yes.
Note 227332.1 NLS considerations in Import/Export - Frequently Asked Questions

Similar Messages

  • Characterset conversion from WE8ISO8859P1 to UTF8

    Hi All,
    While running CSSCAN utility from WE8ISO8859P1 to UTF8 after running 8-9H, the process is going to sleep state.
    We need to complete this task in next 1week of time.Can any one share why this is happening.
    Thanks,
    Sekhar

    There is a Metalink note on [Bug 6460895 - CSSCAN may hang / run slowly|https://metalink.oracle.com/CSP/ui/flash.html#tab=Home(page=Home&id=fm2z4pjj()),(page=KBNavigator&id=fm2z4vd6(&viewingMode=1141&userQuery=csscan%20sleep&searchControl=1146))] that looks to be vaguely related. This indicates that the bug was fixed in 10.2.0.4, but unfortunately the bug itself isn't published, so it is rather hard to know if this is your problem or not. It would probably be worth logging a support request to see if Oracle support can determine whether or not you're being affected by this bug.
    Meanwhile, can you apply the 10.2.0.4 patchset and see if that solves the problem?
    Justin

  • Uninstalled epson printer from control panel...installed new brother printer....now i cannot print anything .pdf old or newly downloaded

    uninstalled epson printer from control panel...installed new brother printer....now i cannot print anything .pdf old or newly downloaded@

    For starters, what exactly do you mean by "cannot print"?
    Are you getting an error message? Are you trying to print from within Reader or are you opening these in the browser? What version of Reader. Even though it's a new printer, the drivers that came with it (or the ones that were already on your computer) may be old so, have you downloaded the most recent drivers from the Brother site?

  • Convert NLS_CHARACTERSET 9i RAC DB from WE8ISO8859P1 to UTF8

    Hi,
    Currently my database has
    NLS_CHARACTERSET=WE8ISO8859P1
    NLS_NCHAR_CHARACTERSET=AL16UTF16
    However, developers request to change NLS_CHARACTERSET to be UTF8 because new source of one of new data marts is UTF8. Currently there is issue with displaying only few records. For conversion, I need to recreate a new database which is what I'm trying to avoid.
    My quesitons are
    1. Since Unicode data stored in few columns in few tables in this new datamart only, can they take advantage of NCHAR and NVARCHAR instead?
    2. If converted to UTF8, what is the drawback of storing all data in database in Unicode?
    3. Is AL32UTF8 better (and superset) than UTF8?
    Thanks

    Generally, you won't be able to convert the existing database to UTF8 since UTF8 isn't a strict binary superset of the existing ISO 8859-1 character set. You would probably have to create a new database and export & import the data over. If there are special circumstances, you may have some other options, but it will involve quite a bit of administration.
    Working with NCHAR columns tends to be a bit more complex from an application development perspective (though this complexity differs depending on the front end used). Depending on the language of most of the data, there are probably space implications of UTF16 vs UTF8. UTF16 is a fixed width character set, so every character occupies two bytes of storage. UTF8 is a variable width character set, so English characters will tend to be 1 byte, European characters will tend to be 2 bytes, and Asian characters will tend to be 3 bytes.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Database Character Set Conversion from WE8ISO8859P1 to UTF8

    Hi All
    I want to migrate data from one database to another database But my original database character set is WE8ISO8859P1 but i want to migrate it to
    database which has character set UTF8
    because of character set it don't shows me Marathi data which is in original database .
    it shows me some symbol for Marathi words ..
    please help me out.
    Thanking You
    Gaurav Sontakke

    Dear GauravSontakke,
    Since your database version is unknown, i will show you an online documentation of character set migration for 10gR2.
    http://www.oracle.com/pls/db102/search?remark=quick_search&word=character+set+migration&tab_id=&format=ranked
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14225/ch11charsetmig.htm#sthref1442
    *http://download.oracle.com/docs/cd/B19306_01/server.102/b14225/ch11charsetmig.htm#NLSPG011*Please read those carefully.
    Hope it Helps,
    Ogan

  • During upgrade to Lion on Macbook Pro the upgrade stops at OS utilites after rebooting asking to restore from time machine backup or install new copy

    My Daughter is currently upgrading her MacBook Pro to OS X Lion.  During the upgrade the system rebooted and then stops at the OS X Utilites menu.  I have installed this same upgrade on My MacBook Pro and the family iMAC without issue.  Did the upgrade encounter a problem?  The only options are to Restore from Time Machine Backup, Reinstall Mac OS X, Get help, or Disk Utility.  
    I'm not sure how recient the backup is on the TimeMachine for her system and she is concered that she may loose a lot of updates she has made to iTunes and iPhoto.  
    Please help.

    I have 8 GB of RAM, but would that even matter during install? Performance once installed and running sure, but I questiong whether the installer would demand that much more, or why it would affect mountain lion when restoring from a time machine backup.

  • Couldn't uninstall Adobe Flash Player 32 bit from 64 bit OS or install new beta release 14 from Adobe Labs.

    Adobe Flash Player 32 bit is integrated with Internet Explorer of Windows 8 could not be uninstalled howsoever for Adobe Labs new beta release, how to install 64 bit Adobe Flash Player ActiveX?
    Message from www.adobe.com:
    Snip from webpage of Adobe Labs:

    Hi,
    Did you encounter any error messages about this issue? Please paste it here so we can know what happened, and from the Adobe Labs webpage,
    http://labs.adobe.com/downloads/flashplayer.html
    I find that
    So the product remains test, it doesn't have a enough stability, you might contact the Adobe Support for detailed information.
    Regarding to uninstall the player, have you tried instruction in the following links?
    http://helpx.adobe.com/flash-player/kb/uninstall-flash-player-windows.html
    https://forums.adobe.com/thread/928315
    NOTE
    This response contains a reference
    to a third party World Wide Web site. Microsoft is providing this information as a convenience to you.
    Microsoft does not control these sites and has not tested
    any software or information found on these sites.
    Yolanda Zhu
    TechNet Community Support

  • Is there a way to restore from an iTunes backup without installing iOS6?

    Prior to the release of iOS 6, I could restore an iOS device from a backup (on computer).
    The iPad is running iOS 5.1.1. Although the user has a recent backup, she does not want to upgrade to iOS 6 at this time.
    Is there a way to restore without upgrading to the latest firmware?

    I would think this would work:
    While connected to iTunes, right-click the device's icon and choose "Restore from backup ..."
    I've never personally done that, but I would think you would not be forced to upgrade your iOS.

  • Upgrade from Trial with Key or Install new Download

    I started using the Trial Version of PSE 9.  My trial is almost over and I have purchased the PSE 9 and PRE 9.
    My question is:  should I provide the Product Keys or should I re-install with the new purchased downloads?
    Can someone please advise me accordingly?  Thanks in advance.

    You can just enter the serial number into the trial.

  • Changing WE8ISO8859P1 to UTF8 or  in 10g 10.2.0.4 RHEL AS 5

    Hi All,
    I want to change my database charset from WE8ISO8859P1 to UTF8, I know of the export and import method . Please tell me that is it possible for me to do the same using the alter database charachterset command or cssalter utility.
    Just wanted to be sure that if the new charset(UTF8) is the superset of the old one(WE8ISO8859P1) . I am not inclined for te export/import method bcas of the ammount of the time involved as the size of the database is big.
    Thanks

    Actually, I've imported WE8ISO... into UTF8 as well as AL32UTF8 without any problems, but you can't go backwards.
    I have had problems with data conversion, but I've come up with my own way of rebuilding the tables using NLS_LENTH_SEMANTICS set to CHAR, and then changing the column lenghts that were giving problems to 4 times as long. This always works. and is a lot easier than using csscan. I've had quite a bit of bad luck and frustration using csscan which led me to writing a white paper for Oracle on data conversion using my method (which works).
    The OP needs to have a firm understanding of character set conversion before he attempts what he was asking about. And, as you mentioned, needs to do it in test first. Then he needs to test doing a full export and importing the data to be sure not to get data conversion issues (ORA-01401: inserted value too large for column).
    ji li

  • TS2446 Hi! I tried to update a few apps from AppStore and to install new applications, but i got a message : " your Apple ID HAS BEEN disabled" !!! Please help me!!! What can i do now? How can i use my Apple ID? Please, i need help, i have this ID for 2de

    Hi everyone!
    I tried to update a few apps from my iPhone, and to install  new applications from APPSTORE. But i got a message :" Your Apple ID has been disabled"!!!!!!
    What can i do now? Can you help me please?
    The same thing happend with my IPAD....
    How can i do to function all this in the same way which was working till this problem appears.
    I want to mention that i have 2 email adresses asociated with the same Apple ID.
    wait for an feedback!
    Thanks a lot!

    Depending on why it's been disabled you might be able to re-enable it via this page : http://appleid.apple.com, then 'reset your password'
    Or you might need to contact Apple : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page
    If it then works on your computer's iTunes but not your phone/iPad then try logging out of your account on the phone/iPad by tapping on your id in Settings > Store (Settings > iTunes & App Stores on iOS 6) and then log back in and see if that 'refreshes' the account on it

  • Problem in Database convertion from US7ASCII to UTF8

    Hi,
    We are facing the following problem while converting the database from US7ASCII to UTF8:
    We have recently changed the database character set from US7ASCII to UTF8 for the internationalization
    purpose. We ran the Character set scanner utility and it did report that some data may pose problems.
    We followed the the below mentioned process to convert into UTF8 -
    1) alter database character set utf8
    2) alter database national character set utf8.
    Now we find some problem while working with the old data in our application which is java based.
    We are getting the following error "java.sql.SQLException: Fail to convert between UTF8 and UCS2: failUTF8Conv".
    We further analyzed our data and found some interesting things :
    e.g.
    DB - UTF8.
    NL_LANG also set to UTF8.
    Select name from t1 where name like 'Gen%';
    NAME
    Genhve
    But when we find out the length of the same data it show like this
    NAME LENGTH(NAME) VSIZE(NAME)
    Genhve 4 6
    The question is why is it showing length as 4 only and when we try to use a substr function
    its extracting like the following :-
    select name,substr(name,4,1) from t1 where name like 'Gen%';
    NAME SUB
    Genhve hve
    We have execute the above queries on US7ASCII DB and it is working fine, length it shows 6
    and using SUBSTR it extracts just 'h' as well.
    We also used dump function on the UTF8 Db for the above query,,this is the result :-
    select name,length(name),vsize(name),dump(name) from t1 where name like 'Gen%';
    NAME LENGTH(NAME) VSIZE(NAME) DUMP(NAME)
    Genhve 4 6 Typ=1 Len=6: 71,101,110,232,118,101
    We checked a lot with the data and it seems 'h' (accented e) is posing the problem.
    We want to know where is the problem and how to overcome this.
    Further, we tried all of the following :
    1)
    Export Server: US7ASCII
    Export Client: did not set NLS_LANG / NLS_CHAR, so presumably US7ASCII as well
    Import Client: did not set NLS_LANG / NLS_CHAR, so presumably US7ASCII as well
    Import Server: UTF8
    RESULT: Acute e became h
    2)
    Export Server: US7ASCII
    Export Client: did not set NLS_LANG / NLS_CHAR, so presumably US7ASCII as well
    Import Client: NLS_LANG=AMERICAN_AMERICA.UTF8 and NLS_CHAR=UTF8
    Import Server: UTF8
    RESULT: IMP 00016 error
    3)
    Export Server: US7ASCII
    Export Client: NLS_LANG=AMERICAN_AMERICA.UTF8 and NLS_CHAR=UTF8
    Import Client: did not set NLS_LANG / NLS_CHAR, so presumably US7ASCII as well
    Import Server: UTF8
    RESULT: Acute E became h
    4)
    Export Server: US7ASCII
    Export Client: NLS_LANG=AMERICAN_AMERICA.UTF8 and NLS_CHAR=UTF8
    Import Client: NLS_LANG=AMERICAN_AMERICA.UTF8 and NLS_CHAR=UTF8
    Import Server: UTF8
    RESULT: Acute e became h
    5)
    Tried using Update sys.props$
    set value$='UTF8'
    where name='NLS_CHARACTERSET'
    RESULT: Acute e shows properly but it gives problem in the application
    "java.sql.SQLException: Fail to convert between UTF8 and UCS2: failUTF8Conv"
    Looking further it was observed the following:
    when you try this command on a column 'city' in a table which contains 'Genhva' (note the acute e after n), it shows
    command: select length(city), vsize(city),substr(city,4,1),city from cities
    Result: 4 6 hva Genhva
    if you see the value of substr(city,4,1) , you will see the problem. Also note that the length shows 4 and size shows 6. Moreover, when these records are selected through JDBC Driver, it starts giving problems.
    6)
    Actually the above (point no. 5) is similar to changing the character set of the database with 'ALTER DATABASE CHARACTER SET UTF8'. Same problem is observed then too.
    7)
    We have also tried to with another method, that is by changing the third byte of the export file which specifies the character set, to the UTF8 code by editing the export file with a Hexdecimal editor. After import the same problem has been observed as defined in (5) and (6) above.
    We have no more ideas how to migrate without corrupting the data. Of course we have known the records where these characters occur through the Oracle's cssacn utility but we do not want to manually rectify each and every record by replacing it with an ASCII character. Any other idea as to how this can be accomplised?
    Thanx
    Ashok

    The problem you have is that although your original database is defined as US7ASCII, the data it contains is more than is covered by this code page (as the reply on Sept 4 to the previous posting already said).
    This has probably happened because the client was also defined as US7ASCII, and when the DB and client are defined as having the same character set no conversion (or checdking) takes place when data is passed between them. However if you are using a Windows client then it will in fact be using Windows code page 1252 (Latin-1) or similar, and this allows many more characters, including h (accented e). So a user can enter all these characters and store them in the database, and similarly read them from the database, because data transfer is transparent.
    When you did ALTER DATABASE CHARACTER SET UTF8 this will only change the label on the database, but not affect the contents. However only part of the contents are valid UTF8, any character above 7F (like h) is invalid. If your original client now uses the database, code page transformation will take place because the client and DB have different character sets defined. The invalid codes can then cause problems.
    Without being able to explain what has happened in detail, it may help to see what your h (dec 232, x'E8') looks like. The actual data has not changed (you can see this as it is reported as 232). However the binary code there (11101000) is invalid UTF8. UTF8 encodes a character in 1 to 4 bytes, and the first bits in a UTF8 character tell how many bytes it uses. 0xxx tell it is one byte (same as the corresponding USASCII character), 110x that it uses 2 bytes, 1110 that it uses 3 bytes etc. So if you interpret what is there as UTF8 it looks like the first byte of a 3-byte character, which explains why the substringing is giving you the other 2 bytes as well.
    Can you fix this without losing data? I believe yes. First you should check what other characters are being flagged by the scan. See if these are contained in another standard character set. If they are only Western European accentet characters then WE8ISO8859P1 is probably ok, but watch out for the euro sign which Windows has at x'80', an undefined character in ISO8859-1.
    You can see the contents of the Microsoft Windows Codepage 1252 at: http://www.microsoft.com/globaldev/reference/sbcs/1252.htm
    For a listing of the US-ASCII defined characters see http://czyborra.com/charsets/iso646.html and for ISO 8859-1 see http://czyborra.com/charsets/iso8859.html#ISO-8859-1
    If all is well, you can first ALTER DATABASE CHARACTER SET to WE8ISO8859P1. This will not change any data, but ensure that all the data gets exported. Then export the DB and import it to a UTF8 DB. This will convert the non-US-ASCII characters to Unicode. You will also have to change the clients character set to something other than USASCII or they will just see ? for the other characters.
    Good Luck!

  • Migrating from WE8ISO8859P1 to AR8MSWIN1256

    Hi, i am trying to migrate my data from WE8ISO8859P1 to AR8MSWIN1256.
    The problem is that the client apparently has its data stored in WE8ISO8859P1 but
    to read data from the database was using some function his developers coded which converts the characters read
    into a non standard charset format because they wanted the data to be shown in farsi which would have been resolved
    a long time ago had they used AR8MSIN1256.
    So they are retrieving characters stored in WEISO8859P1,transform them using this function which is a PLSQL function by the way, and show the right data which is in a non standard charset.
    knowing that AR8MSWIN1256 is not a superset of WE8ISO8859P1, i still tried to import/export the data but of course it did not work.
    can anybody give me some ideas to work with?
    thank you

    i know there should not be this function in the middle, but anyway i am trying this on a test DB.
    here's the code for that function
    CREATE OR REPLACE FUNCTION convertp ( panizstr varchar2)
    RETURN VARCHAR2
    IS
    type t_paniz is table of char index by binary_integer;
    type t_asci is table of char index by binary_integer;
    tpaniz varchar2(45);
    tasci t_asci;
    len number;
    i number;
    res number;
    cod number;
    j number;
    freturn varchar2(55);
    BEGIN
    i:=1;
    j:=1;
    tpaniz:=panizstr;
    len:=length(panizstr);
    while (i<=55) loop
    tasci(i):='';
    i:=i+1;
    end loop;
    res:=0;
    i:=1;
    while (i <=len) loop
    cod:=0;
    --alef
    if (ascii(substr(panizstr,i,1)))=145
    then
    tasci(j):='Â';
    res:=1;
    cod := 1;
    goto endofloop;
    end if;
    --alef
    if (ascii(substr(panizstr,i,1)))=146 or
    (ascii(substr(panizstr,i,1)))=147 then
    tasci(j):='Ç';
    res:=1;
    cod := 1;
    goto endofloop;
    end if;
    --en
    if (ascii(substr(panizstr,i,1)))=142 or
    (ascii(substr(panizstr,i,1)))=143 then
    tasci(j):=' ';
    res:=1;
    cod := 1;
    goto endofloop;
    end if;
    --hamze
    if (ascii(substr(panizstr,i,1)))=148
    then
    tasci(j):='Æ';
    res:=1;
    cod := 1;
    goto endofloop;
    end if;
    --hamze
    if (ascii(substr(panizstr,i,1)))=149
    then
    tasci(j):='Á';
    res:=1;
    cod := 1;
    goto endofloop;
    end if;
    --be
    if (ascii(substr(panizstr,i,1)))=150
    then
    tasci(j):='È';
    res:=1;
    cod := 1;
    goto endofloop;
    end if;
    --en
    if (ascii(substr(panizstr,i,1)))=142
    then
    tasci(j):=' ';
    res:=1;
    cod := 1;
    goto endofloop;
    end if;
    --pe
    if (ascii(substr(panizstr,i,1)))=151
    then
    tasci(j):='';
    res:=1;
    cod := 1;
    goto endofloop;
    end if;
    --te
    if (ascii(substr(panizstr,i,1)))=152
    then
    tasci(j):='Ê';
    res:=1;
    cod := 1;
    goto endofloop;
    end if;
    --the
    if (ascii(substr(panizstr,i,1)))=153
    then
    tasci(j):='Ë';
    res:=1;
    cod := 1;
    goto endofloop;
    end if;
    --jim
    if (ascii(substr(panizstr,i,1)))=154 then
    tasci(j):='Ì';
    res:=1;
    cod := 1;
    goto endofloop;
    end if;
    --jim
    if (ascii(substr(panizstr,i,1)))=155
    then
    tasci(j):='Ì';
    res:=1;
    cod := 1;
    j:=j+1;
    tasci(j):=' ';
    goto endofloop;
    end if;
    --che
    if (ascii(substr(panizstr,i,1)))=156
    then
    tasci(j):='';
    res:=1;
    cod := 1;
    goto endofloop;
    end if;
    --che
    if (ascii(substr(panizstr,i,1)))=157 then
    tasci(j):='';
    res:=1;
    cod := 1;
    j:=j+1;
    tasci(j):=' ';
    goto endofloop;
    end if;
    --he
    if (ascii(substr(panizstr,i,1)))=158
    then
    tasci(j):='Í';
    res:=1;
    cod := 1;
    goto endofloop;
    end if;
    --he
    if (ascii(substr(panizstr,i,1)))=159 then
    tasci(j):='Í';
    res:=1;
    cod := 1;
    j:=j+1;
    tasci(j):=' ';
    goto endofloop;
    end if;
    --khe
    if (ascii(substr(panizstr,i,1)))=160
    then
    tasci(j):='Î';
    res:=1;
    cod := 1;
    goto endofloop;
    end if;
    --khe
    if (ascii(substr(panizstr,i,1)))=161 then
    tasci(j):='Î';
    res:=1;
    cod := 1;
    j:=j+1;
    tasci(j):=' ';
    goto endofloop;
    end if;
    --dal
    if (ascii(substr(panizstr,i,1)))=162 then
    tasci(j):='Ï';
    res:=1;
    cod := 1;
    goto endofloop;
    end if;
    --zal
    if (ascii(substr(panizstr,i,1)))=163 then
    tasci(j):='Ð';
    res:=1;
    cod := 1;
    goto endofloop;
    end if;
    --Re
    if (ascii(substr(panizstr,i,1)))=164 then
    tasci(j):='Ñ';
    res:=1;
    cod := 1;
    goto endofloop;
    end if;
    --ze
    if (ascii(substr(panizstr,i,1)))=165 then
    tasci(j):='Ò';
    res:=1;
    cod := 1;
    goto endofloop;
    end if;
    --je
    if (ascii(substr(panizstr,i,1)))=166 then
    tasci(j):='Ž';
    res:=1;
    cod := 1;
    goto endofloop;
    end if;
    --sin
    if (ascii(substr(panizstr,i,1)))=167 or
    (ascii(substr(panizstr,i,1)))=168 then
    tasci(j):='Ó';
    res:=1;
    cod := 1;
    goto endofloop;
    end if;
    --shin
    if (ascii(substr(panizstr,i,1)))=169 or
    (ascii(substr(panizstr,i,1)))=170 then
    tasci(j):='Ô';
    res:=1;
    cod := 1;
    goto endofloop;
    end if;
    --sad
    if (ascii(substr(panizstr,i,1)))=171 or
    (ascii(substr(panizstr,i,1)))=172 then
    tasci(j):='Õ';
    res:=1;
    cod := 1;
    goto endofloop;
    end if;
    --zad
    if (ascii(substr(panizstr,i,1)))=173 or
    (ascii(substr(panizstr,i,1)))=174 then
    tasci(j):='Ö';
    res:=1;
    cod := 1;
    goto endofloop;
    end if;
    --ta
    if (ascii(substr(panizstr,i,1)))=175 then
    tasci(j):='Ø';
    res:=1;
    cod := 1;
    goto endofloop;
    end if;
    --za
    if (ascii(substr(panizstr,i,1)))=224 then
    tasci(j):='Ù';
    res:=1;
    cod := 1;
    goto endofloop;
    end if;
    --ein
    if (ascii(substr(panizstr,i,1))) =225 or
    (ascii(substr(panizstr,i,1)))=226 then
    tasci(j):='Ú';
    res:=1;
    cod := 1;
    goto endofloop;
    end if;
    --ein
    if (ascii(substr(panizstr,i,1))) =227 or
    (ascii(substr(panizstr,i,1)))=228 then
    tasci(j):='Ú';
    res:=1;
    cod := 1;
    j:=j+1;
    tasci(j):=' ';
    goto endofloop;
    end if;
    --ghein
    if (ascii(substr(panizstr,i,1))) >=229 and
    (ascii(substr(panizstr,i,1)))<=230 then
    tasci(j):='Û';
    res:=1;
    cod := 1;
    goto endofloop;
    end if;
    --ghein
    if (ascii(substr(panizstr,i,1))) >=231 and
    (ascii(substr(panizstr,i,1)))<=232 then
    tasci(j):='Û';
    res:=1;
    cod := 1;
    j:=j+1;
    tasci(j):=' ';
    goto endofloop;
    end if;
    --fe
    if (ascii(substr(panizstr,i,1)))=233
    then
    tasci(j):='Ý';
    res:=1;
    cod := 1;
    goto endofloop;
    end if;
    --ghaf
    if (ascii(substr(panizstr,i,1)))=234
    then
    tasci(j):='Þ';
    res:=1;
    cod := 1;
    goto endofloop;
    end if;
    --ghaf
    if (ascii(substr(panizstr,i,1)))=235 then
    tasci(j):='Þ';
    res:=1;
    cod := 1;
    j:=j+1;
    tasci(j):=' ';
    goto endofloop;
    end if;
    --kaf
    if (ascii(substr(panizstr,i,1)))=236
    then
    tasci(j):='˜';
    res:=1;
    cod := 1;
    goto endofloop;
    end if;
    --ghaf
    if (ascii(substr(panizstr,i,1)))=237
    then
    tasci(j):='';
    res:=1;
    cod := 1;
    goto endofloop;
    end if;
    --lam
    if (ascii(substr(panizstr,i,1)))=238
    then
    tasci(j):='á';
    res:=1;
    cod := 1;
    j:=j+1;
    tasci(j):='Ç';
    goto endofloop;
    end if;
    --lam
    if (ascii(substr(panizstr,i,1)))=239
    then
    tasci(j):='á';
    res:=1;
    cod := 1;
    goto endofloop;
    end if;
    --lam
    if (ascii(substr(panizstr,i,1)))=240 then
    tasci(j):='á';
    res:=1;
    cod := 1;
    j:=j+1;
    tasci(j):=' ';
    goto endofloop;
    end if;
    --mim
    if (ascii(substr(panizstr,i,1)))=241
    then
    tasci(j):='ã';
    res:=1;
    cod := 1;
    goto endofloop;
    end if;
    --mim
    if (ascii(substr(panizstr,i,1)))=242 then
    tasci(j):='ã';
    res:=1;
    cod := 1;
    j:=j+1;
    tasci(j):=' ';
    goto endofloop;
    end if;
    --noon
    if (ascii(substr(panizstr,i,1)))=243
    then
    tasci(j):='ä';
    cod := 1;
    res:=1;
    goto endofloop;
    end if;
    --noon
    if (ascii(substr(panizstr,i,1)))=244 then
    tasci(j):='ä';
    cod := 1;
    res:=1;
    j:=j+1;
    tasci(j):=' ';
    goto endofloop;
    end if;
    --vav
    if (ascii(substr(panizstr,i,1)))=245 or
    (ascii(substr(panizstr,i,1)))=246 then
    tasci(j):='æ';
    res:=1;
    cod := 1;
    goto endofloop;
    end if;
    --he
    if (ascii(substr(panizstr,i,1))) >=247 and
    (ascii(substr(panizstr,i,1)))<=248 then
    tasci(j):='å';
    res:=1;
    cod := 1;
    goto endofloop;
    end if;
    --he
    if (ascii(substr(panizstr,i,1))) >=249 and
    (ascii(substr(panizstr,i,1)))<=250 then
    tasci(j):='å';
    res:=1;
    cod := 1;
    j:=j+1;
    tasci(j):=' ';
    goto endofloop;
    end if;
    --ye
    if (ascii(substr(panizstr,i,1))) =251 then
    tasci(j):='í';
    res:=1;
    cod := 1;
    goto endofloop;
    end if;
    --ye
    if (ascii(substr(panizstr,i,1)))=252 or
    (ascii(substr(panizstr,i,1)))=254 then
    tasci(j):='í';
    res:=1;
    cod := 1;
    j:=j+1;
    tasci(j):=' ';
    goto endofloop;
    end if;
    --1
    if (ascii(substr(panizstr,i,1)))=49 or (ascii(substr(panizstr,i,1)))=129 then
    tasci(j):='1';
    res:=1;
    cod := 1;
    goto endofloop;
    end if;
    --2
    if (ascii(substr(panizstr,i,1)))=50 or (ascii(substr(panizstr,i,1)))=130 then
    tasci(j):='2';
    res:=1;
    cod := 1;
    goto endofloop;
    end if;
    --3
    if (ascii(substr(panizstr,i,1)))=51 or (ascii(substr(panizstr,i,1)))=131 then
    tasci(j):='3';
    res:=1;
    cod := 1;
    goto endofloop;
    end if;
    --4
    if (ascii(substr(panizstr,i,1)))=52 or (ascii(substr(panizstr,i,1)))=132 then
    tasci(j):='4';
    res:=1;
    cod := 1;
    goto endofloop;
    end if;
    --5
    if (ascii(substr(panizstr,i,1)))=53 or (ascii(substr(panizstr,i,1)))=133 then
    tasci(j):='5';
    res:=1;
    cod := 1;
    goto endofloop;
    end if;
    --6
    if (ascii(substr(panizstr,i,1)))=54 or (ascii(substr(panizstr,i,1)))=134 then
    tasci(j):='6';
    res:=1;
    cod := 1;
    goto endofloop;
    end if;
    --7
    if (ascii(substr(panizstr,i,1)))=55 or (ascii(substr(panizstr,i,1)))=135 then
    tasci(j):='7';
    res:=1;
    cod := 1;
    goto endofloop;
    end if;
    --8
    if (ascii(substr(panizstr,i,1)))=56 or (ascii(substr(panizstr,i,1)))=136 then
    tasci(j):='8';
    res:=1;
    cod := 1;
    goto endofloop;
    end if;
    --9
    if (ascii(substr(panizstr,i,1)))=57 or (ascii(substr(panizstr,i,1)))=137 then
    tasci(j):='9';
    res:=1;
    cod := 1;
    goto endofloop;
    end if;
    --0
    if (ascii(substr(panizstr,i,1)))=48 or (ascii(substr(panizstr,i,1)))=128 then
    tasci(j):='0';
    res:=1;
    cod := 1;
    goto endofloop;
    end if;
    <<endofloop>>
    if (res=0) then
    tasci(j):= substr(panizstr,i,1);
    end if;
    if (cod=0) then
    tasci(j):= substr(panizstr,i,1);
    end if;
    i:=i+1;
    j:=j+1;
    end loop;
    --freturn:=tasci(1)||tasci(2)||to_char(ascii(substr(panizstr,1,1)),'999');
    freturn:=tasci(1)||tasci(2)||tasci(3)||tasci(4)||tasci(5)||tasci(6)||tasci(7)||tasci(8)||
    tasci(9)||tasci(10)||tasci(11)||tasci(12)||tasci(13)||tasci(14)||tasci(15)||tasci(16)||tasci(17)||tasci(18)||tasci(19)||tasci(20)||tasci(21)||tasci(22)||tasci(23)||tasci(24)||tasci(25)||
    tasci(26)||tasci(27)||tasci(28)||tasci(29)||tasci(30)||tasci(31)
    ||tasci(32)||tasci(33)||tasci(34)||tasci(35)
    ||tasci(36)||tasci(37)||tasci(38)||tasci(39)
    ||tasci(40)||tasci(41)||tasci(42)||tasci(43)||tasci(44)||tasci(45)
    ||tasci(46)||tasci(47)||tasci(48)||tasci(49)||tasci(50)||tasci(51)
    ||tasci(52)||tasci(53)||tasci(54)||tasci(55);
    return freturn;
    END convertp;
    this lacks a proper documentation i know but this is how i got it, sorry about this.Anyway thank you so much for your time and patience

  • Characterset change from WE8ISO8859P1 to AL32UTF8

    Hi,
    I have restore the rman on new server oracle 11.2.0.3 (Previous backup was of oracle 10.2.0.4).
    Then I have successfully upgrade the database to oracle 11g but issue which I am facing right now is that the old database have the character set WE8ISO8859P1 which is now upgraded to oracle 11.2.0.3 database server.
    My required character set is AL32UTF32.
    Now is there any way that while restoring the rman backup of oracle 10.2.0.4 on new server I set the character set to AL32UTF32.
    Thank you for your cooperation.
    Kind Regards,
    Adnan Hamdussalam

    It means that either I have to change it before backup or after perform the full upgrade on new server oracle 11g and then convert the character set. Am I right?Yes, You are right.
    I think as you are changing from WE8ISO8859P1 to AL32UTF8, so you do not need any tool.
    Must read note,
    *Changing the NLS_CHARACTERSET to AL32UTF8 / UTF8 (Unicode) [ID 260192.1]*

  • Convertion from ASCII to UTF8

    How do we convert the Extended ASCII character to UTF8 without using the ALTER DATABASE CHARACTER SET command

    Is [url http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14200/functions027.htm#i77037]convert function ?
    SQL> select convert('a','utf8','us7ascii') from dual;
    C
    a

Maybe you are looking for