Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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 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.
Created attachment 6756 [details]
In the attached sample, I have two solutions : one windows console application and one iPhone application.
Steps to reproduce the problem :
Open the console application and create a new file. If you go to File -> Advanced Save options, the encoding is set to "Unicode (UTF-8 with signature) - Codepage 65001". Every time I create a new file, the encoding is always utf-8. This is the expected result
But if you open the iPad application, create a new file and go to File -> Advanced Save options, the encoding is set to "Western European (Windows) - Codepage 1252". Every time I create a new file, the encoding is wrong. I expect it to be to utf-8 like in the console application
Screencast showing the steps above : http://www.screencast-o-matic.com/watch/c2hjoanywX
1. This cause problems with our source control which only supports UTF-8. Some french characters encoding (ex : éèç) do not have the same encoding between utf-8 and codepage 1252.
2. I don't want to change the encoding every time I create a new file.
3. If you deploy with Xamarin Studio on a mac the iPd application, some french characters are shown as question marks even if they are shown correctly in the file editor of Xamarin Studio (see screenshotVisualStudio.png and screenshotXamarinStudio.png)
On adding new file in iOS applications then at Advanced Save options, encoding is shown as "Western European (Windows) -Codepage 1252".
Xamarin for Visual Studio 1.12.275.0 (0908d31fd2849ea1d7ec9cba9691ab83e48546a5)
Xamarin.Android 22.214.171.124 (7f0e3d3cfb9b36570e8d7862a33d0310238c814d)
Xamarin.iOS 1.12.275.0 (0908d31fd2849ea1d7ec9cba9691ab83e48546a5)
Fixed in version 126.96.36.1990 (master)
Commit: c43b1fff8013b4bdbf0fba1444a369ec68588000 (xamarin/XamarinVS)