473,395 Members | 1,689 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.

OpenOffice.org, PostgreSQL and Unicode

I have a PostgreSQL database encode in UTF-8. I try to do a mail merge from OOwriter. This seems to work except for non western characters. E.g. when I access the database from pgAdmin, a GUI client I can see all UTF-8 encoded characters. When I cut a text from the GUI and paste this text in OOwriter everything works well. The same text through a mail merge only shows question marks. An example:
---------------
เมืองไทย

TH
Thailand
????????
---------------
The first line is cut from pgAdmin and pasted into OOwriter. The other lines the mail merge. The ?????? should be เมืองไทย .

First I thought I could correct this by setting:

Database->open and existing database file->right click to go to "database properties"->set Data conversion character set to "Unicode (UTF-->save)

but that doesn't help. Then on this site I read the question and answer on:
http://bytes.com/topic/postgresql/answers/857378-client-encoding-postgresql so I thought that might have somethig to do with it. But I can't find something like a client_encoding setting in OpenOffice Base.

Any help would be really appreciated.
Oct 11 '09 #1
2 117879
vituko
48
it's up of the driver, try another : postgresql sdbc is a native one for open office, odbc, jdbc...

The odbc package has two drivers : ANSI and Unicode

I tried odbc and sdbc and both workerd for me with an UTF-8 db
Oct 16 '09 #2
Unfortunately these drivers are Windows/Linux only. I need OS X. Sure I can build them from source but I will only do that as a last resort. A few days ago I purchased a driver from Actualtechologies for OS X and that driver doesn't work with UNICODE UTF-8.

Thanks for the response anyway.
Oct 16 '09 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Rene Pijlman | last post by:
I can't seem to find any way to specify the character encoding with the DB API implementation of PyPgSQL. There is no mention of encoding and Unicode in the DB API v2.0 spec and the PyPgSQL README....
0
by: Dagoberto | last post by:
Hello, my server is red hat linux 9 postgresql 7.3.2, my client is windows xp professional odbc postgresql+ unicode beta (postgresql unicode beta some times) my database has unicode encoding. ...
6
by: peter pilsl | last post by:
postgres 7.3.2 I store unicode-data in postgresql. The data is retrieved via webinterfaces, processed with perl and then stored in postgresql (and viceversa). All is going nice with one...
1
by: tim | last post by:
I have problems to connect my postgres db in Openoffice 1.1 via jdbc. I can open the tables and run queries. But when try to create or alter tables OpenOffice crashes. My Settings ClassPath...
2
by: Toby Doig | last post by:
When I try to import data from a unicode file into PostgreSQL 7.4 under FreeBSD it appears to now understand the Unicode file format. To demonstrate I export a set of Integers into a Unicode file...
5
by: Bob Powell | last post by:
Hello everyone: Can anyone tell me if it is possible to connect excel or openoffice via odbc directly to a postgres backend database. Also, if that is possible does either OpenOffice or Excel...
0
by: dtsearch | last post by:
New release expands-through a .NET Spider API, to Linux, and to OpenOffice-dtSearch's ability to index over a terabyte of text in a single index, with indexed search time typically less than a...
0
by: pavanponnapalli | last post by:
hi, We can connect to postgresql using the driver Pg using the data source name. The DBI->Connect is as under. my $dbh=DBI->connect("dbi:Pg:dbname=postoffice","pavan",""); i used the above...
16
by: Laszlo Nagy | last post by:
I need to create multi lingual invoices from reportlab. I think it is possible to use UTF 8 strings but there is a problem with the font. I could not find any free TTF font that can do latin1,...
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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,...
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.