Building a web app with 2024r2.
When using Prepared Statements to select, create, or update rows, any Scandinavian characters (mostly ä, ö, å in my case) get garbled in MSSQL. I’ve tried defining and converting the string’s encoding to pretty much every reasonable option, but none have fixed the issue. Sometimes the way the characters garble does change a bit.
However, when using the input values in the SQL command directly, without Prepared Statements, they work exactly as they should, without needing to fiddle with the encoding at all. So it seems the problem is only within Prepared Statements.
Can I somehow alter how the Prepared Statements work, and/or do some additional string encoding in there?
5 posts - 5 participants