Entity Framework return translated data from Oracle DB

Discussion of open issues, suggestions and bugs regarding Entity Framework support in ADO.NET Data providers
Post Reply
EmilyFong
Posts: 12
Joined: Sun 20 May 2012 04:25

Entity Framework return translated data from Oracle DB

Post by EmilyFong » Mon 18 Jun 2012 09:19

Hi,

In Oracle database (NLS_NCHAR_CHARACTERSET is UTF8), I stored a simplified chinese word in a NVARCHAR2 field. When selecting the field using the EF, the return data is automatically changed to traditional chinese. The Davert.Data.Oracle version is 6.80.350.0.

Is there anything that might have been set incorrectly causing this? Any help is appreciated.

Emily

Shalex
Site Admin
Posts: 8247
Joined: Thu 14 Aug 2008 12:44

Re: Entity Framework return translated data from Oracle DB

Post by Shalex » Fri 22 Jun 2012 07:57

Please try setting "Unicode=true;" in your connection string and notify us about the results.

EmilyFong
Posts: 12
Joined: Sun 20 May 2012 04:25

Re: Entity Framework return translated data from Oracle DB

Post by EmilyFong » Mon 25 Jun 2012 10:13

Yes, it work. Thanks!

Emily

Post Reply