Bug 54665 - Mono does not yet support codepage 775
Summary: Mono does not yet support codepage 775
Alias: None
Product: Class Libraries
Classification: Mono
Component: mscorlib ()
Version: 4.2.1 (C6SR0)
Hardware: PC Linux
: --- minor
Target Milestone: Future Release
Assignee: Bugzilla
Depends on:
Reported: 2017-04-06 19:30 UTC by Raigo
Modified: 2018-01-10 12:38 UTC (History)
3 users (show)

Is this bug a regression?: ---
Last known good build:

Test case (149 bytes, text/x-csharp)
2017-04-06 19:30 UTC, Raigo

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Raigo 2017-04-06 19:30:18 UTC
Created attachment 21278 [details]
Test case

I get the following exception when I'm trying to use the encoding 775:
System.NotSupportedException: No data is available for encoding 775.
  at System.Text.Encoding.GetEncoding (Int32 codepage) <0x7f646286bd80 + 0x00360> in <filename unknown>:0 
  at HelloWorld.Main () <0x40ae3d50 + 0x00015> in <filename unknown>:0

I am running Ubuntu 16.04, mono-runtime version is 4.2.1 and mono-mcs version is 4.2.1. Both are what comes from the distribution package manager.
Comment 1 Brendan Zagaeski (Xamarin Team, assistant) 2017-04-06 20:06:12 UTC
## Note to the Mono team

This is similar to enhancement request Bug 37467.
Comment 2 Marek Safar 2018-01-10 12:30:27 UTC
*** Bug 37467 has been marked as a duplicate of this bug. ***
Comment 3 Marek Safar 2018-01-10 12:35:58 UTC
Fixed in master
Comment 4 Raigo 2018-01-10 12:38:02 UTC
That's really cool. Thank you for your effort.