MicrosoftEdge / MicrosoftEdge/WebView2Feedback

The Common.targets file is has a strange encoding

Open
#1,449 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug priority-low tracked
Dominant language
PowerShell
Stars
526
Forks
67
PR merge metrics
No merged PRs in 30d

Description

Description
By default the Common.targets file located in the build directory appears to be encoded at UTF-16 for no apparent reason. This is causing minor problems with tooling in our source control repository.

Version
1.0.864,35 and several previous versions

Repro Steps
Open the file in Notepad++ or other text editors, note the encoding. (For Notepad just drop down the "Encoding" menu

Additional context
I'm able to work around this problem by converting the file to UTF-8, which appears to have no side effects. However I have to do this conversion for each new release, and often I forget about the problem between releases.

AB#33939969

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Common.targets file in the build directory and reproduce its encoding in a text editor. Trace how the release produces this file, then verify that the generated file is UTF-8 and that the release process still succeeds without encoding-related tooling problems.

Written by the indexing model from the issue text.

Assessment

Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.