473,395 Members | 1,652 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,395 software developers and data experts.

Unicode in DB2 7.2

hello,
i am facing a problem with a db2 database created with utf-8
character set. My db2 server is running on windows 2000 server, client
is on another machine that is also running windows 2000 server.
installation of db2 is default on both client and server. after
creating database i cant insert any japanese/bangla character in the
database. then i test the font settngs of both db2 server and client
from Control centre and found that Arila Unicode MS font cant be set
as font. Then i tried with a Java gui that support unicode data to
insert japanese/bangla character. same gui works for oracle, sql
server, postgres..... in this case i dont find any error message while
saving but after saving if i refresh table data than i found all the
data are lost. i am using COM.ibm.db2.jdbc.net.DB2Driver driver.

i have tested the gui with DB2 8 with the com.ibm.db2.jcc.DB2Driver
driver and it works fine. then i tried to use
com.ibm.db2.jcc.DB2Driver with DB2 7.2 but this driver dosent work
with 7.2

so what i have to do to use my java gui with unicode database in DB2
7.2?

plz help me.
Nov 12 '05 #1
8 3253
Perhaps setting the environment variable db2codepage helps?

db2set -g db2codepage=1208

zahidal wrote:
hello,
i am facing a problem with a db2 database created with utf-8
character set. My db2 server is running on windows 2000 server, client
is on another machine that is also running windows 2000 server.
installation of db2 is default on both client and server. after
creating database i cant insert any japanese/bangla character in the
database. then i test the font settngs of both db2 server and client
from Control centre and found that Arila Unicode MS font cant be set
as font. Then i tried with a Java gui that support unicode data to
insert japanese/bangla character. same gui works for oracle, sql
server, postgres..... in this case i dont find any error message while
saving but after saving if i refresh table data than i found all the
data are lost. i am using COM.ibm.db2.jdbc.net.DB2Driver driver.

i have tested the gui with DB2 8 with the com.ibm.db2.jcc.DB2Driver
driver and it works fine. then i tried to use
com.ibm.db2.jcc.DB2Driver with DB2 7.2 but this driver dosent work
with 7.2

so what i have to do to use my java gui with unicode database in DB2
7.2?

plz help me.


--
Anton Versteeg
IBM Certified DB2 Specialist
IBM Netherlands

Nov 12 '05 #2
Perhaps setting the environment variable db2codepage helps?

db2set -g db2codepage=1208

zahidal wrote:
hello,
i am facing a problem with a db2 database created with utf-8
character set. My db2 server is running on windows 2000 server, client
is on another machine that is also running windows 2000 server.
installation of db2 is default on both client and server. after
creating database i cant insert any japanese/bangla character in the
database. then i test the font settngs of both db2 server and client
from Control centre and found that Arila Unicode MS font cant be set
as font. Then i tried with a Java gui that support unicode data to
insert japanese/bangla character. same gui works for oracle, sql
server, postgres..... in this case i dont find any error message while
saving but after saving if i refresh table data than i found all the
data are lost. i am using COM.ibm.db2.jdbc.net.DB2Driver driver.

i have tested the gui with DB2 8 with the com.ibm.db2.jcc.DB2Driver
driver and it works fine. then i tried to use
com.ibm.db2.jcc.DB2Driver with DB2 7.2 but this driver dosent work
with 7.2

so what i have to do to use my java gui with unicode database in DB2
7.2?

plz help me.


--
Anton Versteeg
IBM Certified DB2 Specialist
IBM Netherlands

Nov 12 '05 #3
thanks for ur reply.
but how can i execute this command? i am not expert with db2. another
question is should i execute this command in both server and client?

plz help me.

Anton Versteeg <an************@nnll.ibm.com> wrote in message news:<c7***********@sp15en20.hursley.ibm.com>...
Perhaps setting the environment variable db2codepage helps?

db2set -g db2codepage=1208

zahidal wrote:
hello,
i am facing a problem with a db2 database created with utf-8
character set. My db2 server is running on windows 2000 server, client
is on another machine that is also running windows 2000 server.
installation of db2 is default on both client and server. after
creating database i cant insert any japanese/bangla character in the
database. then i test the font settngs of both db2 server and client
from Control centre and found that Arila Unicode MS font cant be set
as font. Then i tried with a Java gui that support unicode data to
insert japanese/bangla character. same gui works for oracle, sql
server, postgres..... in this case i dont find any error message while
saving but after saving if i refresh table data than i found all the
data are lost. i am using COM.ibm.db2.jdbc.net.DB2Driver driver.

i have tested the gui with DB2 8 with the com.ibm.db2.jcc.DB2Driver
driver and it works fine. then i tried to use
com.ibm.db2.jcc.DB2Driver with DB2 7.2 but this driver dosent work
with 7.2

so what i have to do to use my java gui with unicode database in DB2
7.2?

plz help me.

Nov 12 '05 #4
thanks for ur reply.
but how can i execute this command? i am not expert with db2. another
question is should i execute this command in both server and client?

plz help me.

Anton Versteeg <an************@nnll.ibm.com> wrote in message news:<c7***********@sp15en20.hursley.ibm.com>...
Perhaps setting the environment variable db2codepage helps?

db2set -g db2codepage=1208

zahidal wrote:
hello,
i am facing a problem with a db2 database created with utf-8
character set. My db2 server is running on windows 2000 server, client
is on another machine that is also running windows 2000 server.
installation of db2 is default on both client and server. after
creating database i cant insert any japanese/bangla character in the
database. then i test the font settngs of both db2 server and client
from Control centre and found that Arila Unicode MS font cant be set
as font. Then i tried with a Java gui that support unicode data to
insert japanese/bangla character. same gui works for oracle, sql
server, postgres..... in this case i dont find any error message while
saving but after saving if i refresh table data than i found all the
data are lost. i am using COM.ibm.db2.jdbc.net.DB2Driver driver.

i have tested the gui with DB2 8 with the com.ibm.db2.jcc.DB2Driver
driver and it works fine. then i tried to use
com.ibm.db2.jcc.DB2Driver with DB2 7.2 but this driver dosent work
with 7.2

so what i have to do to use my java gui with unicode database in DB2
7.2?

plz help me.

Nov 12 '05 #5
On the client.

zahidal wrote:
thanks for ur reply.
but how can i execute this command? i am not expert with db2. another
question is should i execute this command in both server and client?

plz help me.

Anton Versteeg <an************@nnll.ibm.com> wrote in message news:<c7***********@sp15en20.hursley.ibm.com>...
Perhaps setting the environment variable db2codepage helps?

db2set -g db2codepage=1208

zahidal wrote:
hello,
i am facing a problem with a db2 database created with utf-8
character set. My db2 server is running on windows 2000 server, client
is on another machine that is also running windows 2000 server.
installation of db2 is default on both client and server. after
creating database i cant insert any japanese/bangla character in the
database. then i test the font settngs of both db2 server and client
from Control centre and found that Arila Unicode MS font cant be set
as font. Then i tried with a Java gui that support unicode data to
insert japanese/bangla character. same gui works for oracle, sql
server, postgres..... in this case i dont find any error message while
saving but after saving if i refresh table data than i found all the
data are lost. i am using COM.ibm.db2.jdbc.net.DB2Driver driver.

i have tested the gui with DB2 8 with the com.ibm.db2.jcc.DB2Driver
driver and it works fine. then i tried to use
com.ibm.db2.jcc.DB2Driver with DB2 7.2 but this driver dosent work
with 7.2

so what i have to do to use my java gui with unicode database in DB2
7.2?

plz help me.


--
Anton Versteeg
IBM Certified DB2 Specialist
IBM Netherlands

Nov 12 '05 #6
On the client.

zahidal wrote:
thanks for ur reply.
but how can i execute this command? i am not expert with db2. another
question is should i execute this command in both server and client?

plz help me.

Anton Versteeg <an************@nnll.ibm.com> wrote in message news:<c7***********@sp15en20.hursley.ibm.com>...
Perhaps setting the environment variable db2codepage helps?

db2set -g db2codepage=1208

zahidal wrote:
hello,
i am facing a problem with a db2 database created with utf-8
character set. My db2 server is running on windows 2000 server, client
is on another machine that is also running windows 2000 server.
installation of db2 is default on both client and server. after
creating database i cant insert any japanese/bangla character in the
database. then i test the font settngs of both db2 server and client
from Control centre and found that Arila Unicode MS font cant be set
as font. Then i tried with a Java gui that support unicode data to
insert japanese/bangla character. same gui works for oracle, sql
server, postgres..... in this case i dont find any error message while
saving but after saving if i refresh table data than i found all the
data are lost. i am using COM.ibm.db2.jdbc.net.DB2Driver driver.

i have tested the gui with DB2 8 with the com.ibm.db2.jcc.DB2Driver
driver and it works fine. then i tried to use
com.ibm.db2.jcc.DB2Driver with DB2 7.2 but this driver dosent work
with 7.2

so what i have to do to use my java gui with unicode database in DB2
7.2?

plz help me.


--
Anton Versteeg
IBM Certified DB2 Specialist
IBM Netherlands

Nov 12 '05 #7
i did it, but no change. note that i didn't install any fixpak.
another thing is the fonts that can be set for Control Center do not
support japanese, thai or bangla. Arial Unicode MS does support all
these languages. So if i use Bangla then how can i seee them useing
Control Centre?

Anton Versteeg <an************@nnll.ibm.com> wrote in message news:<c7***********@sp15en20.hursley.ibm.com>...
On the client.

zahidal wrote:
thanks for ur reply.
but how can i execute this command? i am not expert with db2. another
question is should i execute this command in both server and client?

plz help me.

Anton Versteeg <an************@nnll.ibm.com> wrote in message news:<c7***********@sp15en20.hursley.ibm.com>...
Perhaps setting the environment variable db2codepage helps?

db2set -g db2codepage=1208

zahidal wrote:

hello,
i am facing a problem with a db2 database created with utf-8
character set. My db2 server is running on windows 2000 server, client
is on another machine that is also running windows 2000 server.
installation of db2 is default on both client and server. after
creating database i cant insert any japanese/bangla character in the
database. then i test the font settngs of both db2 server and client
from Control centre and found that Arila Unicode MS font cant be set
as font. Then i tried with a Java gui that support unicode data to
insert japanese/bangla character. same gui works for oracle, sql
server, postgres..... in this case i dont find any error message while
saving but after saving if i refresh table data than i found all the
data are lost. i am using COM.ibm.db2.jdbc.net.DB2Driver driver.

i have tested the gui with DB2 8 with the com.ibm.db2.jcc.DB2Driver
driver and it works fine. then i tried to use
com.ibm.db2.jcc.DB2Driver with DB2 7.2 but this driver dosent work
with 7.2

so what i have to do to use my java gui with unicode database in DB2
7.2?

plz help me.

Nov 12 '05 #8
i did it, but no change. note that i didn't install any fixpak.
another thing is the fonts that can be set for Control Center do not
support japanese, thai or bangla. Arial Unicode MS does support all
these languages. So if i use Bangla then how can i seee them useing
Control Centre?

Anton Versteeg <an************@nnll.ibm.com> wrote in message news:<c7***********@sp15en20.hursley.ibm.com>...
On the client.

zahidal wrote:
thanks for ur reply.
but how can i execute this command? i am not expert with db2. another
question is should i execute this command in both server and client?

plz help me.

Anton Versteeg <an************@nnll.ibm.com> wrote in message news:<c7***********@sp15en20.hursley.ibm.com>...
Perhaps setting the environment variable db2codepage helps?

db2set -g db2codepage=1208

zahidal wrote:

hello,
i am facing a problem with a db2 database created with utf-8
character set. My db2 server is running on windows 2000 server, client
is on another machine that is also running windows 2000 server.
installation of db2 is default on both client and server. after
creating database i cant insert any japanese/bangla character in the
database. then i test the font settngs of both db2 server and client
from Control centre and found that Arila Unicode MS font cant be set
as font. Then i tried with a Java gui that support unicode data to
insert japanese/bangla character. same gui works for oracle, sql
server, postgres..... in this case i dont find any error message while
saving but after saving if i refresh table data than i found all the
data are lost. i am using COM.ibm.db2.jdbc.net.DB2Driver driver.

i have tested the gui with DB2 8 with the com.ibm.db2.jcc.DB2Driver
driver and it works fine. then i tried to use
com.ibm.db2.jcc.DB2Driver with DB2 7.2 but this driver dosent work
with 7.2

so what i have to do to use my java gui with unicode database in DB2
7.2?

plz help me.

Nov 12 '05 #9

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

Similar topics

3
by: Michael Weir | last post by:
I'm sure this is a very simple thing to do, once you know how to do it, but I am having no fun at all trying to write utf-8 strings to a unicode file. Does anyone have a couple of lines of code...
8
by: Bill Eldridge | last post by:
I'm trying to grab a document off the Web and toss it into a MySQL database, but I keep running into the various encoding problems with Unicode (that aren't a problem for me with GB2312, BIG 5,...
8
by: Francis Girard | last post by:
Hi, For the first time in my programmer life, I have to take care of character encoding. I have a question about the BOM marks. If I understand well, into the UTF-8 unicode binary...
48
by: Zenobia | last post by:
Recently I was editing a document in GoLive 6. I like GoLive because it has some nice features such as: * rewrite source code * check syntax * global search & replace (through several files at...
4
by: webdev | last post by:
lo all, some of the questions i'll ask below have most certainly been discussed already, i just hope someone's kind enough to answer them again to help me out.. so i started a python 2.3...
2
by: Neil Schemenauer | last post by:
python-dev@python.org.] The PEP has been rewritten based on a suggestion by Guido to change str() rather than adding a new built-in function. Based on my testing, I believe the idea is...
10
by: Nikolay Petrov | last post by:
How can I convert DOS cyrillic text to Unicode
6
by: Jeff | last post by:
Hi - I'm setting up a streamreader in a VB.NET app to read a text file and display its contents in a multiline textbox. If I set it up with System.Text.Encoding.Unicode, it reads a unicode...
13
by: Tomás | last post by:
Let's start off with: class Nation { public: virtual const char* GetName() const = 0; } class Norway : public Nation { public: virtual const char* GetName() const
24
by: ChaosKCW | last post by:
Hi I am reading from an oracle database using cx_Oracle. I am writing to a SQLite database using apsw. The oracle database is returning utf-8 characters for euopean item names, ie special...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
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...
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...

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.