473,513 Members | 2,605 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 3261
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
17594
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
5251
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
3642
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
4578
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
6041
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
2610
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
8012
by: Nikolay Petrov | last post by:
How can I convert DOS cyrillic text to Unicode
6
7003
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
3263
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
8993
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
7160
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
5685
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,...
1
5086
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4746
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...
0
3233
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...
0
3222
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1594
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 ...
1
799
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
456
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...

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.