473,569 Members | 2,652 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Re: Doubt UTF8 database

Praveen wrote:
Hi All,

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

HKLM\Software\O racle\NLS_LANG= NA
HKLM\Software\O racle\ALL_HOMES \ID0\NLS_LANG=N A
HKLM\Software\O racle\HOME0\NLS _LANG=AMERICAN_ AMERICA.WE8ISO8 859P1.

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 1077

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

Similar topics

4
5035
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 column, ALTER TABLE `icons` CHANGE `name_farsi` `name_farsi` VARCHAR( 99 ) CHARACTER SET utf8 COLLATE utf8_persian_ci DEFAULT NULL and change...
6
18314
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 it, however some specific lines are in fact in UTF8 as printed garbagy characters and they need to be converted to Unicode, so that the new text file...
0
1918
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 database. Still we are struggling to store and retrieve the data using java. We are running oracle on Win2000 system. Here my doubt is apart from...
0
2801
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 connection string in ASP e.g. sCon = "dsn=mydsn;uid=user;pwd=pass;stmt=set names utf8;option=3;". The ASP pages are all charset utf8. Now the ASP...
4
6061
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 mySql. My database character set is UTF8. I am using the native .NET provider from mysql.com. Everything is at the current version. My C# code for...
2
10280
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 WebSphere Application Server. I have two questions: 1. How many characters, such as Chinese, Japanese, can a CHAR(128) or
39
5836
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 ISO-8859-1 -t UTF-8 mydb.sql mydb_utf8.sql mysqlCREATE DATABASE mydb_utf8 CHARACTER SET utf8 COLLATE utf8_general_ci;
1
5349
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 the I dont need filtering in Oracle, but only indexing. If I put file references to the filtered files in the database and index these (using...
0
7924
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8125
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7676
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7974
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6284
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5219
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3653
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
2114
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
938
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.