Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b2a0f0c

Browse files
Merge pull request #32 from kleberksms/6.9_netstandard
fixing encoding for utf-8 not english
2 parents 5c175c1 + 9565161 commit b2a0f0c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

‎Source/MySql.Data/Field.cs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ public MySqlField(Driver driver)
8585
connVersion = driver.Version;
8686
maxLength = 1;
8787
binaryOk = true;
88+
Encoding.RegisterProvider(CodePagesEncodingProvider.Instance);
8889
}
8990

9091
#region Properties

‎Source/MySql.Data/project.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@
5353
"System.Reflection.TypeExtensions": "4.1.0",
5454
"System.Security.Cryptography.X509Certificates": "4.1.0",
5555
"System.Net.Security": "4.0.0",
56-
"System.Runtime.InteropServices.RuntimeInformation": "4.0.0"
56+
"System.Runtime.InteropServices.RuntimeInformation": "4.0.0",
57+
"System.Text.Encoding.CodePages": "4.3.0"
5758
},
5859
"frameworks": {
5960
"netstandard1.3": {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /