Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: CHANGING CHARACTER SET
NLS_LANG should be set on client, either UNIX environment variable or NT registry entry.
I don't think there's a way to force client to use a particular character set. This is the whole point of NLS, I think. Server should not care what language/character set client uses, and vice versa.
Gerardo
-----Original Message-----
Sent: Thursday, November 01, 2001 10:27 AM
To: 'Molina, Gerardo'
Gerardo,
Thanks for your help. I need little more clarification:
When we change the database character set from US7ASCII TO UTF8
Do this will only affects for the server database and client can
still export in different character set as per setting of NLS_LANG
on their machine......
If i want to force clients to use NLS_LANG of server database how can
i set some parameters on server .....
NLS_LANG is set as environment varable but if i want to add entry in
init.ora we have parameter NLS_LANGUAGE and NLS_TERRITORY...but how can
we specify the chacter set in init.ora file........
I know i am asking some silly questions but i am totally confused with
oracle docs.
Thanks
-Harvinder
-----Original Message-----
Sent: Thursday, November 01, 2001 11:40 AM
To: Multiple recipients of list ORACLE-L
Harvinder,
try setting NLS_LANG=AMERICAN_AMERICA.UTF8, then doing the export.
If NLS_LANG is not set, the default is US7ASCII as you experienced.
Refer to MetaLink Note 48644.1 and Note 15095.1
Gerardo
-----Original Message-----
Sent: Thursday, November 01, 2001 7:30 AM
To: Multiple recipients of list ORACLE-L
Gerardo,
The trick works for me also but when i try to export it shows as:
Connected to: Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production
With the Partitioning option
JServer Release 8.1.7.0.0 - Production
Export done in US7ASCII character set and US7ASCII NCHAR character set
server uses UTF8 character set (possible charset conversion)
Do we are able to change character set or our existing data is still using
US7ASCII.
Thanks
-Harvinder
-----Original Message-----
Sent: Thursday, November 01, 2001 2:00 AM
To: Multiple recipients of list ORACLE-L
Try this procedure:
The extra db bounce did the trick for me. Don't ask me why. I think I found it on MetaLink or opened a TAR.
HTH
Gerardo
SVRMGR> SHUTDOWN IMMEDIATE; -- or NORMAL <do a full database backup>
SVRMGR> STARTUP MOUNT; SVRMGR> ALTER SYSTEM ENABLE RESTRICTED SESSION; SVRMGR> ALTER SYSTEM SET JOB_QUEUE_PROCESSES=0; SVRMGR> ALTER SYSTEM SET AQ_TM_PROCESSES=0; SVRMGR> ALTER DATABASE OPEN; SVRMGR> ALTER DATABASE CHARACTER SET <new_character_set>;
SVRMGR> SHUTDOWN IMMEDIATE;
SVRMGR> STARTUP RESTRICT;
SVRMGR> SHUTDOWN IMMEDIATE;
SVRMGR> STARTUP;
-----Original Message-----
Sent: Wednesday, October 31, 2001 9:02 AM
To: Multiple recipients of list ORACLE-L
Hi,
We are planning to change out database charater set from US7ASCII to UTF8
and we followed folowing steps as specified in metalink...
but still when i see the trace of controlfile it shows character set as
US7ASCII..
Do i need to do export/import to change takes place.
we have oracle 8.1.7.1.5 on WIN2K.
SVRMGR> SHUTDOWN IMMEDIATE; -- or NORMAL
<do a full database backup>
SVRMGR> STARTUP MOUNT;
SVRMGR> ALTER SYSTEM ENABLE RESTRICTED SESSION; SVRMGR> ALTER SYSTEM SET JOB_QUEUE_PROCESSES=0; SVRMGR> ALTER SYSTEM SET AQ_TM_PROCESSES=0; SVRMGR> ALTER DATABASE OPEN; SVRMGR> ALTER DATABASE CHARACTER SET <new_character_set>;SVRMGR> SHUTDOWN IMMEDIATE; -- OR NORMAL SVRMGR> STARTUP; Thanks
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Liststo: 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).
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Liststo: 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).
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Liststo: 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).
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Liststo: 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).
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Liststo: 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 Thu Nov 01 2001 - 12:57:21 CST
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
![]() |
![]() |