Microsoft
Software
Hardware
Network
Question : 0xefbfbd of encoding "UTF8" has no equivalent in "WIN1252"
I'm getting the error below on this statement. I'm trying to open a connection to a PostgreSQL database. I have a ODBC data source defined, and I have installed the PostgreSQL ODBC driver.
Dim Reader As OdbcDataReader = catCMD.ExecuteReader()
ERROR [22P05] ERROR: character 0xefbfbd of encoding "UTF8" has no equivalent in "WIN1252";
Error while executing the query
Alternatively, can I use an SQL connection object. If so, what would I specify for Data Source?
Answer : 0xefbfbd of encoding "UTF8" has no equivalent in "WIN1252"
I change the driver from ANSI to UNICODE and the problem is resolved.
Random Solutions
How to restrict access to specific folders using variable "UserRoleID"?
Using one keyboard and mouse with two computers at the same time
Convert VBA Function to SQL Function
Building Computer room & Requirements
Poor Performance on Sharepoint 2010 Server
Is there a way to find when a group membership was added or removed in AD.
Need help with regex mail checking
Windows XP Pro pirate issue
best practice for cross-database SPs
VBScript: Need to only output the required result, without the junk.