This commit is contained in:
MichaelGrafnetter 2016-02-06 19:00:59 +01:00
parent 224e03a90d
commit 7ad0720656
1 changed files with 3 additions and 1 deletions

View File

@ -285,7 +285,9 @@ namespace Microsoft.Database.Isam
JET_SESID sesid = database.IsamSession.Sesid;
// If we use the wide API (Vista+), then the temp table will be in UTF-16.
Encoding encodingOfTextColumns = EsentVersion.SupportsVistaFeatures
// Technically, this should have worked in Vista. But there was a bug, and
// it was fixed after Windows 7.
Encoding encodingOfTextColumns = EsentVersion.SupportsWindows8Features
? Encoding.Unicode
: Encoding.ASCII;