Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Urgent! Change Character Set from WE8IS088591 to UTF8

RE: Urgent! Change Character Set from WE8IS088591 to UTF8

From: <Riyaj_Shamsudeen_at_i2.com>
Date: Wed, 14 Feb 2001 08:29:59 -0800
Message-ID: <F001.002B3FC2.20010214071744@fatcity.com>

In my opinion, it is not a good idea to change from WE8ISO8859P1 to UTF8. Even though, there are two methods (updating in props$ table in pre-oracle8 and using alter database in after 8) available to change the characterset, for these two methods to work correctly without introducing corruption, there are two pre-existing conditions.

  1. The characterset 'from' should be a subset of the 'to' characterset.
  2. Not just subset, also a byte by byte compatible subset. Meaning say if A is represented as hex value 65 in the 'from' characterset then 65 should be represented as 'A' in 'to' characterset too.

 In reality, as far as I know, going from ASCII to WE8ISO8859P? is the only one that will satisfy this.

 Thanks
Riyaj "Re-yas" Shamsudeen
Certified Oracle DBA
"Usual disclaimers apply"

                                                                                       
                       
                    Jorma.Vuorio@                                                      
                       
                    nokia.com            To:     Multiple recipients of list ORACLE-L 
<ORACLE-L_at_fatcity.com>  
                    Sent by:             cc:                                           
                       
                    root_at_fatcity.        Subject:     RE: Urgent! Change Character Set 
from WE8IS088591 to    
                    com                  UTF8                                          
                       
                                                                                       
                       
                                                                                       
                       
                    02/14/01                                                           
                       
                    06:00 AM                                                           
                       
                    Please                                                             
                       
                    respond to                                                         
                       
                    ORACLE-L                                                           
                       
                                                                                       
                       
                                                                                       
                       




How about:

SVRMGR> startup mount
SVRMGR> alter system ENABLE RESTRICTED SESSION; Statement processed.
SVRMGR> ALTER SYSTEM SET JOB_QUEUE_PROCESSES=0; Statement processed.
SVRMGR> ALTER DATABASE OPEN;
Statement processed.
SVRMGR> ALTER DATABASE CHARACTER SET ********; Statement processed
SVRMGR> ALTER DATABASE NATIONAL CHARACTER SET **********; Statement processed.
SVRMGR> shutdown immediate
SVRMGR> startup

Answer from this list some time ago :)

Br.
Jorma

> -----Original Message-----
> From: ext Martin Kendall [mailto:Martin.Kendall_at_Rubus.com]
> Sent: 14 February, 2001 13:21
> To: Multiple recipients of list ORACLE-L
> Subject: RE: Urgent! Change Character Set from WE8IS088591 to UTF8
>
>
> DO NOT do this in 8i as you will not be able to restart the database.
>
> Martin
>
> -----Original Message-----
> Sent: 14 February 2001 10:31
> To: Multiple recipients of list ORACLE-L
>
>
> i once hear someone said that:
> update sys.props$ set value='utf8' where name ='NLS_characterset';
> and it seems it do work,but not konw whether it is legal,and
> no experience
> in production database.
> ----- Original Message -----
> To: "Multiple recipients of list ORACLE-L" <ORACLE-L_at_fatcity.com>
> Sent: Wednesday, February 14, 2001 7:40 AM
>
>
> > I have a 8.1.6.0.0 database.
> >
> > What is the best way to change Character Set from
> WE8ISO8859P1 to UTF8
> >
> > from:
> > NLS_CHARACTERSET WE8ISO8859P1
> >
> > To:
> > NLS_CHARACTERSET UTF8
> >
> > Thanks
> >
> > Larry
> >
> >
> >
> > --
> > Please see the official ORACLE-L FAQ: http://www.orafaq.com
> > --
> > Author: Larry Taylor
> > INET: ltaylor_at_iq.com
> >
> > Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> > San Diego, California -- Public Internet access /
> Mailing Lists
> > --------------------------------------------------------------------
> > To REMOVE yourself from this mailing list, send an E-Mail message
> > to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> > the message BODY, include a line containing: UNSUB ORACLE-L
> > (or the name of mailing list you want to be removed from). You may
> > also send the HELP command for other information (like subscribing).
> >Wsz^r&9,BmY
> (ک&a!jSbz
> <Z(tm).ۭzZ(׭SI?ǬY9tQ@_|9?Rjpz
> jXYh>-'z׫?ZqǬSXEURDCTL&die;*kaSsSX'X
> u1&die;(tm),j
> kr+rr?"\"--)Ѯv)...z
> xfb)-^jXy'&die;Sx5%9,
> B^?zsSX'X*.?ޭ&die;&half;_?~sɩlǧv^Br?jw_-...
> ?+(tm)byb
> '.n+?
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Martin Kendall
> INET: Martin.Kendall_at_Rubus.com
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
>

--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author:
  INET: Jorma.Vuorio_at_nokia.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).




--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author:
  INET: Riyaj_Shamsudeen_at_i2.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Wed Feb 14 2001 - 10:29:59 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US