Files created by Visual Studio are generally considered to be UTF-8. However, when you generate a file using the Azure Functions template, the file is generated in ANSI. · Issue #894 · Azure/azure-functions-templates

Creating the bug on behalf of the VS customer. Details of the bug can be found here - https://developercommunity.visualstudio.com/content/problem/635626/visual-studio-2019-%E3%81%A6azure-functions%...