microsoft / microsoft/json-document-transforms
Synchronize encoding
Nobody has claimed this yet.
- Dominant language
- PowerShell
- Stars
- 115
- Forks
- 39
- PR merge metrics
- No merged PRs in 30d
Description
JsonTransformation.Apply should detect the encoding of the input (either stream or file) and return a stream with the same encoding.
Note that StreamReader.CurrentEncoding does not seem to work properly (see this). I have confirmed this problem through some testing.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at JsonTransformation.Apply and trace how it reads streams and files before producing the result stream. Research reliable input-encoding detection rather than relying on StreamReader.CurrentEncoding, then verify that the returned stream preserves the input encoding for both supported input forms.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100