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.jdb c.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. 8 3270
Perhaps setting the environment variable db2codepage helps?
db2set -g db2codepage=120 8
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.jdb c.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
Perhaps setting the environment variable db2codepage helps?
db2set -g db2codepage=120 8
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.jdb c.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
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.h ursley.ibm.com> ... Perhaps setting the environment variable db2codepage helps?
db2set -g db2codepage=120 8
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.jdb c.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.
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.h ursley.ibm.com> ... Perhaps setting the environment variable db2codepage helps?
db2set -g db2codepage=120 8
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.jdb c.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.
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.h ursley.ibm.com> ...
Perhaps setting the environment variable db2codepage helps?
db2set -g db2codepage=120 8
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. installati on 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.jdb c.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
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.h ursley.ibm.com> ...
Perhaps setting the environment variable db2codepage helps?
db2set -g db2codepage=120 8
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. installati on 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.jdb c.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
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.h ursley.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.h ursley.ibm.com> ...
Perhaps setting the environment variable db2codepage helps?
db2set -g db2codepage=120 8
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. installati on 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.jdb c.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.
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.h ursley.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.h ursley.ibm.com> ...
Perhaps setting the environment variable db2codepage helps?
db2set -g db2codepage=120 8
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. installati on 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.jdb c.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. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 that
- opens a file appropriately for output
- writes to this file
Thanks very much.
Michael Weir
|
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, etc.)
What I'd like is something as simple as:
CREATE TABLE junk (junklet VARCHAR(2500) CHARACTER SET UTF8));
import MySQLdb, re,urllib
|
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 representation, some
systems add at the beginning of the file a BOM mark (Windows?), some don't.
(Linux?). Therefore, the exact same text encoded in the same UTF-8 will
result in two different binary files, and of a slightly different length.
Right ?
|
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 once)
* regular expression search & replace.
Normally my documents are encoded with the ISO setting.
Recently I was writing an XHTML document. After changing the encoding to UTF-8 I used the
|
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 script that grabs some web pages from the web,
regex parse the data and stores it localy to xml file for further use..
at first i had no problem using python minidom and everything concerning
| |
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 feasible. It would be helpful if
people could test the patched Python with their own applications and
report any incompatibilities.
PEP: 349
|
by: Nikolay Petrov |
last post by:
How can I convert DOS cyrillic text to Unicode
|
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 file
just fine. If I set it up as ASCII, it reads a non-unicode text file. But
I don't know the file format in advance.
How can my app determine whether to use Unicode encoding before I read the
|
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
|
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 charcaters from an ASCII perspective.
I get the following error:
> SQLiteCur.execute(sql, row)
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
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.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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 launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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 into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |