Unix Technical Forum

problems accessing utf8 encoded databases

This is a discussion on problems accessing utf8 encoded databases within the pgsql Interfaces odbc forums, part of the PostgreSQL category; --> Hi: I'm new to this list and to postgres, so hopefully this won't sound like a stupid question. We ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Interfaces odbc

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-17-2008, 04:24 PM
Mija Lee
 
Posts: n/a
Default problems accessing utf8 encoded databases

Hi:

I'm new to this list and to postgres, so hopefully this won't sound like a
stupid question. We are trying to connect from sas 9.13 service pack 3 to a
postgres database version 8.2.4. We are able to do so without any problems when
the databases are sql-ascii encoded, but get

ERROR: CLI error trying to establish connection: [unixODBC]client encoding
mismatch

I'm able to connect to the same server, different databases that are not UTF-8
encoded. I have UNICODE=UTF8 as a line in the odbc.ini. We are calling the sas9
program with a utf-8 encoding option. T

We are using 8.00.0100, but from what I've read it looks like utf-8 support
started in version 7.1. I didn't install the driver myself, but is there
something special I need to do to get utf-8 working with the odbc driver?

Mija



---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-17-2008, 04:24 PM
Hiroshi Saito
 
Posts: n/a
Default Re: problems accessing utf8 encoded databases

Hi.

----- Original Message -----
From: "Mija Lee" <mija@scharp.org>

> Hi:
>
> I'm new to this list and to postgres, so hopefully this won't sound like a
> stupid question. We are trying to connect from sas 9.13 service pack 3 to a
> postgres database version 8.2.4. We are able to do so without any problems when
> the databases are sql-ascii encoded, but get
>
> ERROR: CLI error trying to establish connection: [unixODBC]client encoding
> mismatch
>
> I'm able to connect to the same server, different databases that are not UTF-8
> encoded. I have UNICODE=UTF8 as a line in the odbc.ini. We are calling the sas9
> program with a utf-8 encoding option. T
>
> We are using 8.00.0100, but from what I've read it looks like utf-8 support
> started in version 7.1. I didn't install the driver myself, but is there
> something special I need to do to get utf-8 working with the odbc driver?
>
> Mija


Um, Although the version of the driver with which you use me may have a problem,
it thinks that support is difficult....Would you use our new driver, supposing it is
possible?
It does not reproduce your problem.
http://winpg.jp/~saito/psqlODBC/psqlODBC_use_ASCII.png

We were preparing the now newest release. It is Version 08.02.0500. please see,
http://www.postgresql.org/ftp/odbc/versions/

Sorry, the newest official announcement was preparing us...

Regards,
Hiroshi Saito


---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 03:28 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com