Oracle.EntityFrameworkCore US7ASCII Chinese query garbled code
See original GitHub issueOracle.EntityFrameworkCore5.21.1,Database encoding format is ‘SIMPLIFIED CHINESE_CHINA.US7ASCII’,The Chinese data queried in .net5 is garbled
services.AddDbContext<FinanceContext>(op => { op.UseOracle(Configuration.GetConnectionString("Finance") , b => b.UseOracleSQLCompatibility("11") ); });
I put the local environment variable 'NLS_ LANG ‘is changed to the same. The query with’ PL / SQL 'is normal, but the Chinese data in. Net5 is garbled
Issue Analytics
- State:
- Created 2 years ago
- Comments:29 (10 by maintainers)
Top Results From Across the Web
Connecting to Oracle database with Chinese garbled code
Solved: Dear~~ The Chinese of the data we check in PLSQL is normal, but the Chinese on Power Query is garbled. Thanks for...
Read more >ORAOLEDB US7ASCII character set database drive ...
US7ASCII The client's character set:SIMPLIFIED CHINESE_CHINA. ... character set database drive connections, Chinese garbled, how to solve?
Read more >Connecting to Oracle database with Chinese garbled code
Connecting to Oracle database with Chinese garbled code ... The Chinese of the data we check in PLSQL is normal, but the Chinese...
Read more >Storing Chinese Characters - Ask TOM
Tom, We have a new requirement where we need to store Chinese Characters in the database, diplay it and print it.
Read more >OdbcConnection returning Chinese Characters as "?"
I have an Oracle database that stores some data values in Simplified Chinese. I have created an ASP.net MVC C# webpage that is...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
To solve this problem, you can try the OLEDB method:
https://github.com/dotnetcore/FreeSql/wiki
There won’t be a fix until there’s a clear resolution on what the course of action should be. This is not a bug. It’s more like an enhancement request. However, the ER would be to emulate other providers’ behavior, which itself is not officially supported.
If you’re looking for an ODP.NET fix, I would recommend opening a service request with Oracle Support. Explain the business case, the technical details and constraints, and the urgency/priority. In that process, we’ll see if there’s any supportable workarounds through some combination of Oracle and customer app changes. If not, there will at least be a better understanding what ODP.NET product changes would have to occur.