forked from mono/mono
-
Notifications
You must be signed in to change notification settings - Fork 510
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix System.Net.CookieContainer ANSI code page bug on Windows
The call to GetNetworkParams returns a FIXED_INFO_W2KSP1 structure. The string fields of this struct are 8-bit ANSI strings an need to be marshaled MultiByteToWideChar. The existing behavior was using UTF-8 to decode the string which does not work correctly on Japanese systems
- Loading branch information
Showing
1 changed file
with
49 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters