FirebirdSQL / NETProvider

Firebird ADO.NET Data Provider
https://www.firebirdsql.org/en/net-provider/
Other
152 stars 63 forks source link

How to set charset for win1252 in C# ? #1086

Closed rdrgbaioco closed 1 year ago

rdrgbaioco commented 1 year ago

Every time I try to put in the connection string (Charset=win1252, Chartset=windows_1252), it doesn't work, but Charset=ISO8859_1 works, what am I doing wrong?

image

cincuranet commented 1 year ago

Using win1252 is correct. But you very likely forgot to add CodePagesEncodingProvider. Link.