dbTalk Databases Forums  

[BUGS] BUG #1564: special Character OleDB

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] BUG #1564: special Character OleDB in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Steinhaus, Harald
 
Posts: n/a

Default [BUGS] BUG #1564: special Character OleDB - 03-26-2005 , 11:42 PM







The following bug has been logged online:

Bug reference: 1564
Logged by: Steinhaus, Harald
Email address: harald.steinhaus (AT) steinhaus (DOT) de
PostgreSQL version: 8.01
Operating system: Windows XP
Description: special Character OleDB
Details:

using charset SQL_ASCII German special characters are correctly shown in
pgAdminIII.
In a WindowsForms Application using PgOleDb-1.0.0.19 these characters are
shown as ? and removing the following character.

If required I can supply screenshots.

(Using other charactersets didn't allow use batchimport when the file
contains special characters

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

Reply With Quote
  #2  
Old   
Alvaro Herrera
 
Posts: n/a

Default Re: [BUGS] BUG #1564: special Character OleDB - 03-27-2005 , 11:26 AM






On Fri, Mar 25, 2005 at 10:43:08AM +0000, Steinhaus, Harald wrote:

Quote:
using charset SQL_ASCII German special characters are correctly shown in
pgAdminIII.
In a WindowsForms Application using PgOleDb-1.0.0.19 these characters are
shown as ? and removing the following character.
If you are using SQL_ASCII, you should not insert non-7-bit-ascii data.
If you do, you are responsible for whatever may happen with character
conversion; which means, it will work on some cases, but will fail on a
lot of others.

You should really declare the correct character set at creation time
(which depends on the locale you choose), and issue the correct "SET
client_encoding" command at execution time.

Quote:
(Using other charactersets didn't allow use batchimport when the file
contains special characters
Probably that's because you didn't define the correct client_encoding.
See the thread at

http://archives.postgresql.org/pgsql...3/msg00892.php

--
Alvaro Herrera (<alvherre[@]dcc.uchile.cl>)
"Always assume the user will do much worse than the stupidest thing
you can imagine." (Julien PUYDT)

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo (AT) postgresql (DOT) org)


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



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.