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.
Adding new files (i.e. a new class) to Android projects in Visual Studio results in files with non UTF8 encoding as it should be.
To repro: Create a new blank Android app, Add a new Class to project and check its encoding (Save As, Save with Encoding button).
For me it says Central European (Windows) - Codepage 1250 instead of Unicode (UTF-8 with signature) - Codepage 65001.
Can you please share with us the environment information from your setup?
Help - About Microsoft Visual Studio - Copy Info
What kind of Android project are you using? Can you reproduce the issue with a Blank App? WebView App? maybe a different type or any Android project?
System Info below.
Both Android blank and WebView would produce a non UTF8 file somehow. I guess it should be UTF8-BOM (that's what I'm seeing for i.e. Console app).
I assume that class template file isn't UTF8. Where can I find class file template for Android?
Microsoft Visual Studio Enterprise 2015
Version 14.0.25123.00 Update 2
Microsoft .NET Framework
Installed Version: Enterprise
Architecture and Modeling Tools 00322-90150-03565-AA203
Microsoft Architecture and Modeling Tools
UML® and Unified Modeling Language™ are trademarks or registered trademarks of the Object Management Group, Inc. in the United States and other countries.
Visual Basic 2015 00322-90150-03565-AA203
Microsoft Visual Basic 2015
Visual C# 2015 00322-90150-03565-AA203
Microsoft Visual C# 2015
Visual C++ 2015 00322-90150-03565-AA203
Microsoft Visual C++ 2015
Windows Phone SDK 8.0 - ENU 00322-90150-03565-AA203
Windows Phone SDK 8.0 - ENU
Start ANTS Performance and Memory Profilers from Visual Studio
ASP.NET and Web Tools 2015 (RC1 Update 1) 14.1.20203.0
ASP.NET and Web Tools 2015 (RC1 Update 1)
ASP.NET Web Frameworks and Tools 2012.2 4.1.41102.0
For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563
ASP.NET Web Frameworks and Tools 2013 5.2.40314.0
For additional information, visit http://www.asp.net/
Azure App Service Tools v2.9 14.0.20316.0
Azure App Service Tools v2.9
Azure Data Lake Node 1.0
This package contains the Data Lake integration nodes for Server Explorer.
Azure Data Lake Tools for Visual Studio 2.0.6000.0
Microsoft Azure Data Lake Tools for Visual Studio
Clear MEF Component Cache 1.2
Clears the Visual Studio MEF component cache to fix issues with cache corruption.
CodeRush for Roslyn (Preview) 188.8.131.52
DevExpress CodeRush for Roslyn (Preview) package.
Common Azure Tools 1.7
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
Create layout wizard.
Microsoft Data Factory Package
A useful tool for deploying DevExpress assemblies.
A Visual Studio Extension that brings the GitHub Flow into Visual Studio.
License Header Manager 1.7.2
An extension for automatically inserting license information file headers.
Microsoft Azure Data Factory Node Node 1.0
Azure Data Factory extension for Visual Studio Server Explorer.
Microsoft Azure HDInsight HQL Service 2.0.6000.0
Language service for Hive query
Microsoft Azure HDInsight Tools for Visual Studio 2.0.6000.0
An integrated development environment for HDInsight application development.
Microsoft Azure Mobile Services Tools 1.4
Microsoft Azure Mobile Services Tools
Microsoft Azure Tools 2.7
Microsoft Azure Tools for Microsoft Visual Studio 2015 - v2.7.30818.1601
Microsoft Azure Tools 2.9
Microsoft Azure Tools for Microsoft Visual Studio 2015 - v2.9.40323.3
Microsoft Azure Tools 2.8
Microsoft Azure Tools for Microsoft Visual Studio 2015 - v2.8.40211.2
Multilingual App Toolkit 4.0.1605.0
Multilingual App Toolkit helps you localize your Windows Store app by providing file management, pseudo and machine translation, translation editor, and build integration. http://aka.ms/matinstallv4
NuGet Package Manager 3.4.3
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.
Object Exporter 1.0
Object Exporter creates serializations of in memory objects from your various debugging windows. Currently supported output formats are: CSharp Object Initialization Code, JSON and XML.
Package Installer 1.7.78
Makes it easier, faster and more convenient than ever to install Bower, npm, JSPM, TSD, Typings and NuGet packages to any project
PreEmptive Analytics Visualizer 1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.
SQL Server Data Tools 14.0.60311.1
Microsoft SQL Server Data Tools
Information about my package
Syntax Visualizer 1.0
An extension for visualizing Roslyn SyntaxTrees.
Hosting json editor into a tool window
TypeScript tools for Visual Studio
Visual Studio Tools for Universal Windows Apps 14.0.25123.00
The Visual Studio Tools for Universal Windows apps allow you to build a single universal app experience that can reach every device running Windows 10: phone, tablet, PC, and more. It includes the Microsoft Windows 10 Software Development Kit.
Web Compiler 1.11.312
Compiler for LESS, Sass and CoffeeScript files
Web Essentials 2015.2 2.0.214
Adds many useful features to Visual Studio for web developers. Requires Visual Studio 2015
Windows Installer XML Toolset 184.108.40.2063
Windows Installer XML Toolset version 220.127.116.113
Copyright (c) Outercurve Foundation. All rights reserved.
Xamarin 18.104.22.1686 (0026d9a)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.
Xamarin Inspector Support 0.6.0.0 (00c6588)
Adds support for inspecting Xamarin and WPF apps.
Xamarin.Android 22.214.171.124 (eabab32)
Visual Studio extension to enable development for Xamarin.Android.
Xamarin.iOS 126.96.36.1997 (0611769)
Visual Studio extension to enable development for Xamarin.iOS.
XAML Spy 3.0.2
XAML Spy for Visual Studio
Copyright © First Floor Software. All rights reserved.
The visual runtime inspector for Android, iOS and Windows
Xenko VisualStudio Package
XtraReports package 1.0
First of all, I'm sorry for the huge delay.
We've added several improvements to our product since the bug was reported, and we weren't able to reproduce it on our end. I'm resolving it tentatively as No_Reproducible.
That said, if you're still facing this issue with current bits, please feel free to reopen the bug and we'll investigate it further.