Bug 1707 - MonoDevelop does not detect ANSI file encoding
Summary: MonoDevelop does not detect ANSI file encoding
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Text Editor ()
Version: 2.8.1
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Mike Krüger
Depends on:
Reported: 2011-10-26 18:26 UTC by c0rphan
Modified: 2011-10-26 19:21 UTC (History)
2 users (show)

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

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 Developer Community or GitHub 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 c0rphan 2011-10-26 18:26:28 UTC
When opening an ANSI encoded file the following error is received :The file 'filename.cs' could not be opened. Unable to load DLL 'libc': The specified module could not be found. (Exception from HRESULT: 0x8007007E).

However, if you manually specify the encoding in the File->Open dialogue box, the file will open normally.
Comment 1 Mikayla Hutchinson [MSFT] 2011-10-26 19:00:07 UTC
This has been fixed and the fix will be in 2.8.1.
Comment 2 c0rphan 2011-10-26 19:11:03 UTC
Do you mean 2.8.2? This was occurring in 2.8.1.
Comment 3 Mikayla Hutchinson [MSFT] 2011-10-26 19:21:28 UTC
Yup, that's what I meant, sorry.

Here's the commit: https://github.com/mono/monodevelop/commit/5dd0c017adfa86b8fcaa36bb95437487c5a9ac45