pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feedProblem with euro symbol
8+ messages / 3 participants
[nested] [flat]
* Problem with euro symbol
@ 2006-09-15 14:20 Yann PICHOT <ypichot@gmail.com>
0 siblings, 2 replies; 8+ messages in thread
From: Yann PICHOT @ 2006-09-15 14:20 UTC (permalink / raw)
To: pgsql-odbc
Hi,
I have a 8.1.4 database on windows with LATIN9 codepage .
In Java application (use JDBC driver postgresql-8.1-407.jdbc3.jar) on
Windows i write characters with euro symbole (ALT GR+E on my keyboard). When
i retrieve these characters data in my java application i see the correct
charater for euro symbol.
But when i retrieve these data with application use ODBC driver (8.02.01.00)
the character that i see is not correct.
How can i correct this problem ?
--
Yann
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: Problem with euro symbol
@ 2006-09-18 07:30 Stijn Vanroye <s.vanroye@easytowork.nl>
parent: Yann PICHOT <ypichot@gmail.com>
1 sibling, 1 reply; 8+ messages in thread
From: Stijn Vanroye @ 2006-09-18 07:30 UTC (permalink / raw)
To: pgsql-odbc
Yann PICHOT schreef:
> Hi,
>
> I have a 8.1.4 database on windows with LATIN9 codepage .
> In Java application (use JDBC driver postgresql-8.1-407.jdbc3.jar) on
> Windows i write characters with euro symbole (ALT GR+E on my keyboard).
> When i retrieve these characters data in my java application i see the
> correct charater for euro symbol.
> But when i retrieve these data with application use ODBC driver
> (8.02.01.00 <http://8.02.01.00;) the character that i see is not correct.
>
> How can i correct this problem ?
>
> --
> Yann
Do you use the ODBC ANSI or UNICODE driver? I'ts likely that your
problem can be found in that corner.
Regards,
Stijn.
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: Problem with euro symbol
@ 2006-09-18 14:23 Yann PICHOT <ypichot@gmail.com>
parent: Stijn Vanroye <s.vanroye@easytowork.nl>
0 siblings, 1 reply; 8+ messages in thread
From: Yann PICHOT @ 2006-09-18 14:23 UTC (permalink / raw)
To: s.vanroye@easytowork.nl; +Cc: pgsql-odbc
I use ODBC ANSI.
I test ODBC Unicode but when i use it, SELECT statement don't return
character column (CHAR and VARCHAR) and my database is not in Unicode0
2006/9/18, Stijn Vanroye <s.vanroye@easytowork.nl>:
>
> Yann PICHOT schreef:
> > Hi,
> >
> > I have a 8.1.4 database on windows with LATIN9 codepage .
> > In Java application (use JDBC driver postgresql-8.1-407.jdbc3.jar) on
> > Windows i write characters with euro symbole (ALT GR+E on my keyboard).
> > When i retrieve these characters data in my java application i see the
> > correct charater for euro symbol.
> > But when i retrieve these data with application use ODBC driver
> > (8.02.01.00 <http://8.02.01.00;) the character that i see is not
> correct.
> >
> > How can i correct this problem ?
> >
> > --
> > Yann
>
> Do you use the ODBC ANSI or UNICODE driver? I'ts likely that your
> problem can be found in that corner.
>
> Regards,
>
> Stijn.
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: explain analyze is your friend
>
--
Yann
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: Problem with euro symbol
@ 2006-09-18 15:24 Stijn Vanroye <s.vanroye@easytowork.nl>
parent: Yann PICHOT <ypichot@gmail.com>
0 siblings, 0 replies; 8+ messages in thread
From: Stijn Vanroye @ 2006-09-18 15:24 UTC (permalink / raw)
To: pgsql-odbc
Yann PICHOT schreef:
> I use ODBC ANSI.
>
> I test ODBC Unicode but when i use it, SELECT statement don't return
> character column (CHAR and VARCHAR) and my database is not in Unicode0
>
> 2006/9/18, Stijn Vanroye < s.vanroye@easytowork.nl
> <mailto:s.vanroye@easytowork.nl>>:
>
> Yann PICHOT schreef:
> > Hi,
> >
> > I have a 8.1.4 database on windows with LATIN9 codepage .
> > In Java application (use JDBC driver postgresql-8.1-407.jdbc3.jar) on
> > Windows i write characters with euro symbole (ALT GR+E on my
> keyboard).
> > When i retrieve these characters data in my java application i
> see the
> > correct charater for euro symbol.
> > But when i retrieve these data with application use ODBC driver
> > ( 8.02.01.00 <http://8.02.01.00; <http://8.02.01.00;) the
> character that i see is not correct.
> >
> > How can i correct this problem ?
> >
> > --
> > Yann
>
> Do you use the ODBC ANSI or UNICODE driver? I'ts likely that your
> problem can be found in that corner.
>
> Regards,
>
> Stijn.
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: explain analyze is your friend
>
>
>
>
> --
> Yann
Still I think the problem is to be found somewhere in that corner. I
myself use a dabase with UTF8 encoding in combination with the ODBC
UNICODE driver. I do howver add this to the connect settings of the
driver: SET CLIENT_ENCODING='LATIN1'
Maybe some of the charset/encoding experts can shed some more light on
this matter?
Regards, Stijn.
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: Problem with euro symbol
@ 2006-09-25 10:45 Johann Zuschlag <zuschlag2@online.de>
parent: Yann PICHOT <ypichot@gmail.com>
1 sibling, 1 reply; 8+ messages in thread
From: Johann Zuschlag @ 2006-09-25 10:45 UTC (permalink / raw)
To: Yann PICHOT <ypichot@gmail.com>; +Cc: pgsql-odbc
Yann PICHOT schrieb:
> Hi,
>
> I have a 8.1.4 database on windows with LATIN9 codepage .
> In Java application (use JDBC driver postgresql-8.1-407.jdbc3.jar) on
> Windows i write characters with euro symbole (ALT GR+E on my
> keyboard). When i retrieve these characters data in my java
> application i see the correct charater for euro symbol.
> But when i retrieve these data with application use ODBC driver
> (8.02.01.00 <http://8.02.01.00;) the character that i see is not correct.
>
> How can i correct this problem ?
>
> --
> Yann
Hi,
maybe you try to use Latin15, since the euro symbol is not part of Latin9.
Regards,
Johann
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: Problem with euro symbol
@ 2006-09-26 07:28 Yann PICHOT <ypichot@gmail.com>
parent: Johann Zuschlag <zuschlag2@online.de>
0 siblings, 1 reply; 8+ messages in thread
From: Yann PICHOT @ 2006-09-26 07:28 UTC (permalink / raw)
To: Johann Zuschlag <zuschlag2@online.de>; +Cc: pgsql-odbc
2006/9/25, Johann Zuschlag <zuschlag2@online.de>:
>
>
> Hi,
>
> maybe you try to use Latin15, since the euro symbol is not part of Latin9.
>
> Regards,
>
> Johann
>
>
Hi,
LATIN15 don't exist, euro symbol is port of LATIN9.
See documentation of version 8.1 int the chapter 21.2.1
Regards,
--
Yann
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: Problem with euro symbol
@ 2006-09-26 16:22 Johann Zuschlag <zuschlag2@online.de>
parent: Yann PICHOT <ypichot@gmail.com>
0 siblings, 1 reply; 8+ messages in thread
From: Johann Zuschlag @ 2006-09-26 16:22 UTC (permalink / raw)
To: Yann PICHOT <ypichot@gmail.com>; +Cc: pgsql-odbc
Yann PICHOT schrieb:
>
>
> 2006/9/25, Johann Zuschlag <zuschlag2@online.de
> <mailto:zuschlag2@online.de>>:
>
>
> Hi,
>
> maybe you try to use Latin15, since the euro symbol is not part of
> Latin9.
>
> Regards,
>
> Johann
>
>
> Hi,
>
> LATIN15 don't exist, euro symbol is port of LATIN9.
> See documentation of version 8.1 int the chapter 21.2.1
>
> Regards,
> --
> Yann
Hi,
I'm sorry, you are right. I mixed that with ISO8859-1.
When I conducted tests with a LATIN9 (ISO8859-15 to make it more clear
;-) ) database I didn't face any problems. I especially tested the
euro-symbol.
LATIN9 database + ODBC-unicode driver
writing and retrieving the euro-symbol worked.
Which windows version are you using? I tested XP and ME with the unicode
driver. There ANSI-driver is not to be used any more, except for BDE, if
I recall correctly.
Regards,
Johann
^ permalink raw reply [nested|flat] 8+ messages in thread
* Re: Problem with euro symbol
@ 2006-09-27 07:07 Stijn Vanroye <s.vanroye@easytowork.nl>
parent: Johann Zuschlag <zuschlag2@online.de>
0 siblings, 0 replies; 8+ messages in thread
From: Stijn Vanroye @ 2006-09-27 07:07 UTC (permalink / raw)
To: pgsql-odbc
Johann Zuschlag schreef:
> Which windows version are you using? I tested XP and ME with the
unicode
> driver. There ANSI-driver is not to be used any more, except for BDE, if
> I recall correctly.
And even for BDE you can do without the ANSI. I use the ADO component
set in combination with the unicode driver. The only extra I did was add
"SET CLIENT_ENCODING='LATIN1'" in the connection settings part of the
connection string. Before that we also had some symbols not working.
Regards,
Stijn Vanroye
www.easytowork.nl
www.xillion.nl
^ permalink raw reply [nested|flat] 8+ messages in thread
end of thread, other threads:[~2006-09-27 07:07 UTC | newest]
Thread overview: 8+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-09-15 14:20 Problem with euro symbol Yann PICHOT <ypichot@gmail.com>
2006-09-18 07:30 ` Stijn Vanroye <s.vanroye@easytowork.nl>
2006-09-18 14:23 ` Yann PICHOT <ypichot@gmail.com>
2006-09-18 15:24 ` Stijn Vanroye <s.vanroye@easytowork.nl>
2006-09-25 10:45 ` Johann Zuschlag <zuschlag2@online.de>
2006-09-26 07:28 ` Yann PICHOT <ypichot@gmail.com>
2006-09-26 16:22 ` Johann Zuschlag <zuschlag2@online.de>
2006-09-27 07:07 ` Stijn Vanroye <s.vanroye@easytowork.nl>
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