Thursday, 5 September 2013

Postgresql/npgsql cant write when useing danish letters

Postgresql/npgsql cant write when useing danish letters

I get this error when i try to write to my postgresql DB.
NpgsqlException: ERROR: 22021: invalid byte sequence for encoding "UTF8":
0xe5 0x27 0x2c
It only happen when i use danish letters (æ ø å).
Is there a way to set it to use ex. Unicode ?
I use Npgsql in a C# project.
I have no problem at all when iam not useing the danish letters.

No comments:

Post a Comment