Fails to create a parameter file for arm template when encoded with UTF-8 BOM
See original GitHub issueDoes this occur consistently? Yes Repro steps:
- from vs code create a new arm template (use snippet arm! )
- from vs code select/create parameter file… I receive the error below
Action: azurerm-vscode-tools.selectParameterFile Error type: Error Error Message: “e:\temp\armtemp\mytemplate.json” does not appear to be an Azure Resource Manager deployment template file.
Version: 0.10.0 OS: win32 OS Release: 10.0.17763 Product: Visual Studio Code Product Version: 1.45.1 Language: en
Call Stack
Object.<anonymous> extension.bundle.js:1:596601
fulfilled extension.bundle.js:1:593686
Issue Analytics
- State:
- Created 3 years ago
- Comments:13 (5 by maintainers)
Top Results From Across the Web
Error in Uploading UTF-8 with BOM - Tamr Core Documentation
The error that occurs when a file with a BOM is uploaded resembles: Upload failed. com.tamr.common.except.ServiceException: Error while processing input stream ...
Read more >Arm template validation fails through Azure Devops release ...
Arm template validation fails through Azure Devops release, works from powershell and test-AzResourceGroupDeployment - Stack Overflow. Stack ...
Read more >The Delphi Compiler and UTF-8 Encoded Source Code Files ...
The BOM (Byte Order Mark) is a sequence of bytes (3 bytes for for UTF-8) that marks the file to make it simple...
Read more >Docker Compose release notes | Docker Documentation
Fixed by compose#9896; Switched GitHub issue template form ... Fixed an issue that prevented proper parsing of UTF-8 BOM encoded Compose files on...
Read more >Character Encoding | Unreal Engine 4.27 Documentation
Note that there is no code to detect or decode UTF-8 encoded text files ... encoding, and this could cause either a compile...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Weird, I repro’d it with my Mac.
Fix released with 0.11.0