473,405 Members | 2,187 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Re: Doubt UTF8 database

Praveen wrote:
Hi All,

I have Oracle 8.1.6 on win2000 env. I have already one database with
AMERICAN_AMERICA.WE8ISO8859P1 charset. And i created one more database
with UTF8 charset. If i see in my registry, the variables have
following values..

HKLM\Software\Oracle\NLS_LANG=NA
HKLM\Software\Oracle\ALL_HOMES\ID0\NLS_LANG=NA
HKLM\Software\Oracle\HOME0\NLS_LANG=AMERICAN_AMERI CA.WE8ISO8859P1.

If client app(which is going to be developed in java) try to access
this database will it work? or if there is anything is missing in my
registry.

Please help me,

Praveen
The oracle clients don't care what charset the database server has
as long as the client charset is a full subset of the server's.
Server we8iso8859p1, client us-ascii =works fine, but not reversed.

Then a session is created, a bunch of statements like alter session set
nls_charset=...., number delimiters and ore. That means that the
connecting process on the server adapts the settings from the client,
if possible.

Server UTF8, client could have any set of we8iso8859p1-17, traditional
Chinese, north-korean, russian, greek ....

The edge is, that your english or us client possibly isn't able to
display the north-korean text, and will be shown as reversed ????

Worse is, that many believe that an 'international' windows client might
be able to select Chinese charset - but if it is not a Chinese version
windows - it wont work.

Remember that with utf8 charset on the server, some characters like ñ,
ü and others (i cant type due to charset settings) can expand up to 3
bytes. All of a sudden a varchar2(300) holds only 100 characters, if
they are all 3 byte types. Some charset are fixed 3 byte and some are
variable 1 to 3 bytes. Check the doc, nls_lang support.

/svend

Jun 27 '08 #1
0 1070

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: sinasalek | last post by:
i have a problem with MySQL 4.1.x and UTF8. in version 4.0, i'm using html forms with utf8 charset for inserting unicode strings. but in version 4.1.x it is not working! if i change the charset of...
6
by: Spamtrap | last post by:
I only work in Perl occasionaly, and have been searching for a solution for a conversion, and everything I found seems much too complex. All I need to do is take a simple text file and copy...
0
by: Praveen | last post by:
Hi All, We have a requirement to develop an application using Java and Oracle 8.1.7.0.0 which supports multiple languages(French,German,Japenies,Chinese etc..). For that i have created a UTF8...
0
by: Sean | last post by:
I have a MySQL 4.1.11 database, table and table columns all configured as utf8 as I need to accept data in a number of languages. The MySQL database is hosted so I use SET NAMES utf8 in the...
4
by: Bob Sillett | last post by:
This is one of those issues that doesn't clearly fit into a single category as it's both a C# and a database (mySql) issue. I want to INSERT and SELECT text in UTF8 from a C# application to...
2
by: Jason | last post by:
Hi, I was wondering if anyone could advise me on this. Right now I am setting up a DB2 UDB V8.2.3 database with UTF8 character set, which will work with a J2EE application running on...
39
by: alex | last post by:
I've converted a latin1 database I have to utf8. The process has been: # mysqldump -u root -p --default-character-set=latin1 -c --insert-ignore --skip-set-charset mydb mydb.sql # iconv -f...
1
by: Server Applications | last post by:
Hello I am trying to build a system where I can full-text index documents with UTF8 or UTF16 data using Oracle Text. I am doing the filtering in a third-party component outside the database, so...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.