pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Re: [QUESTIONS] ODBC converts text fields?
2+ messages / 2 participants
[nested] [flat]

* Re: [QUESTIONS] ODBC converts text fields?
@ 1998-03-11 02:22 The Hermit Hacker <scrappy@hub.org>
  1998-03-11 07:11 ` Re: [INTERFACES] Re: [QUESTIONS] ODBC converts text fields? Aleksey Demakov <avd@avd.garsib.ru>
  0 siblings, 1 reply; 2+ messages in thread

From: The Hermit Hacker @ 1998-03-11 02:22 UTC (permalink / raw)
  To: Tsopa Denis Vladimirovich <denis@oracle.hcc.khabarovsk.su>; +Cc: pgsql-interfaces


Redirected to 'the proper list' - pgsql-interfaces@postgresql.org


On Tue, 10 Mar 1998, Tsopa Denis Vladimirovich wrote:

> Hi, All!
> 
> I work with PostgreSQL (6.3) via PostODBC (0.35a). I use Builder C++ on
> Windows 95 as a PostgreSQL frontend. When I try to insert row into
> PostgreSQL table using SQL command 'INSERT' via ODBC driver, I get
> a trouble. The text string in inserted row is in cyrillic code page (KOI8R)
> and ODBC driver coverts this string to another code.
> What do I have to make to avoid it?
> Thanx.
> 
> -- 
> With best wishes
> Den V. Tsopa
> E-mail: denis@oracle.hcc.khabarovsk.su, tdv@edisoft.ru
> 
> 
> --
> Official WWW Site: http://www.postgresql.org
> Online Docs & FAQ: http://www.postgresql.org/docs
> Searchable Lists: http://www.postgresql.org/mhonarc
> 

Marc G. Fournier                                
Systems Administrator @ hub.org 
primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org 




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: [INTERFACES] Re: [QUESTIONS] ODBC converts text fields?
  1998-03-11 02:22 Re: [QUESTIONS] ODBC converts text fields? The Hermit Hacker <scrappy@hub.org>
@ 1998-03-11 07:11 ` Aleksey Demakov <avd@avd.garsib.ru>
  0 siblings, 0 replies; 2+ messages in thread

From: Aleksey Demakov @ 1998-03-11 07:11 UTC (permalink / raw)
  To: Tsopa Denis Vladimirovich <denis@oracle.hcc.khabarovsk.su>; pgsql-interfaces


> On Tue, 10 Mar 1998, Tsopa Denis Vladimirovich wrote:
> 
> > Hi, All!
> > 
> > I work with PostgreSQL (6.3) via PostODBC (0.35a). I use Builder C++ on
> > Windows 95 as a PostgreSQL frontend. When I try to insert row into
> > PostgreSQL table using SQL command 'INSERT' via ODBC driver, I get
> > a trouble. The text string in inserted row is in cyrillic code page (KOI8R)
> > and ODBC driver coverts this string to another code.
> > What do I have to make to avoid it?
> > Thanx.

AFAIK, the PostODBC driver does not perform any character translations.
Though I have seen something about recoding in the PostgreSQL 6.3 (see
postgresql-6.3/src/data). I don't yet looked closer at this.

BTW, how do you get koi8 under windows? Do you recode text by yourself
from the windows encoding before sending it to postgres? And when you
get the text back do you recode it back?

-- 
Aleksey Demakov <avd@avd.garsib.ru>



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~1998-03-11 07:11 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1998-03-11 02:22 Re: [QUESTIONS] ODBC converts text fields? The Hermit Hacker <scrappy@hub.org>
1998-03-11 07:11 ` Aleksey Demakov <avd@avd.garsib.ru>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox