Closed stormcrow79 closed 1 year ago
FYI @wyldphyre
@cincuranet i've added our repro at https://github.com/stormcrow79/FirebirdSql.Data.FirebirdClient/tree/test-encodings
we're still trying to get the test suite running to investigate further.
EF6 provider is in maintenance/legacy mode. I do not plan releasing (except for security fixes, if any) more versions of this provider. If you feel like creating a good, quality, complete PR, I will consider merging it.
Hi @cincuranet, thanks for your feedback. We'll look into creating a PR for EF6.
Meantime we've just tested the EF Core provider and it does seem to behave the same way.
Create issue with test case for EF Core, please.
Inserting or updating a string field using Entity Framework results in unexpected byte sequences when all of the following conditions are met:
Environment
Expected outcome: name contains "O’Grady" with a curly apostrophe Actual outcome: name contains "O’Grady" (the UTF-8 bytes for U+2019)
This appears to be caused by the explicit use of UTF-8 in
GenerateReturningSql
.Removing this line seems to resolve this particular problem.
NOTE: This problem does NOT occur using Firebird 2.5.9.