S
Steve - DND
I'm currently having some difficulties inserting Unicode text into a
PostgreSQL database from a .Net app. The database is setup with UNICODE
encoding, and .Net apps maintains all strings in a Unicode format so I can't
figure out where the problem is. When I insert regular ASCII text,
everything is just fine. When I try to insert Unicode data, I get the error:
"Invalid UNICODE character sequence found".
However, when I use the exact same INSERT INTO statement in pgAdmin, that I
use in the .Net app, the data is inserted without a problem. I realize most
people here are working with SQL Server or Access, but hopefully someone has
some insight on this.
INSERT INTO dbo."trn_tblCultures" ("Culture", "LCID", "EnglishName",
"NativeName", "LanguageCodeTwoLetter", "LanguageCodeThreeLetter",
"WindowsCodeThreeLetter") VALUES
('ca',3,'Catalan','català','ca','cat','CAT');
Thanks,
Steve
PostgreSQL database from a .Net app. The database is setup with UNICODE
encoding, and .Net apps maintains all strings in a Unicode format so I can't
figure out where the problem is. When I insert regular ASCII text,
everything is just fine. When I try to insert Unicode data, I get the error:
"Invalid UNICODE character sequence found".
However, when I use the exact same INSERT INTO statement in pgAdmin, that I
use in the .Net app, the data is inserted without a problem. I realize most
people here are working with SQL Server or Access, but hopefully someone has
some insight on this.
INSERT INTO dbo."trn_tblCultures" ("Culture", "LCID", "EnglishName",
"NativeName", "LanguageCodeTwoLetter", "LanguageCodeThreeLetter",
"WindowsCodeThreeLetter") VALUES
('ca',3,'Catalan','català','ca','cat','CAT');
Thanks,
Steve