Skip to content

add Turkish DOS (CP 857) encoding support#300114

Merged
bpasero merged 2 commits into
microsoft:mainfrom
ssg:cp857-support
Apr 24, 2026
Merged

add Turkish DOS (CP 857) encoding support#300114
bpasero merged 2 commits into
microsoft:mainfrom
ssg:cp857-support

Conversation

@ssg
Copy link
Copy Markdown
Contributor

@ssg ssg commented Mar 9, 2026

Fixes: #300041

Copilot AI review requested due to automatic review settings March 9, 2026 03:49
@vs-code-engineering
Copy link
Copy Markdown
Contributor

vs-code-engineering Bot commented Mar 9, 2026

📬 CODENOTIFY

The following users are being notified based on files changed in this PR:

@bpasero

Matched files:

  • src/vs/workbench/services/textfile/common/encoding.ts

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds Turkish DOS code page 857 (cp857) to the set of encodings VS Code exposes for file open/save/reopen encoding selection and files.encoding configuration.

Changes:

  • Register cp857 as a supported encoding with labels “Turkish DOS (CP 857)” / “CP 857”.
  • Assign sort order so it appears after existing DOS encodings (CP 865/850).

@ssg ssg force-pushed the cp857-support branch 2 times, most recently from fd9b936 to 29129b4 Compare March 16, 2026 03:31
@bpasero
Copy link
Copy Markdown
Contributor

bpasero commented Apr 23, 2026

Duplicate of #307782

@bpasero bpasero marked this as a duplicate of #307782 Apr 23, 2026
@bpasero bpasero closed this Apr 23, 2026
@ssg
Copy link
Copy Markdown
Contributor Author

ssg commented Apr 24, 2026

@bpasero What did make that other PR more eligible than mine? The only difference seems to be the sort order, but I'm not sure of the exact reasoning.

I'm asking so I can make better decisions in the future introducing PRs. I don't care about this specific change, as I only care for that it's fixed, but I don't want to waste time unnecessarily either. Thanks!

@bpasero bpasero reopened this Apr 24, 2026
@bpasero
Copy link
Copy Markdown
Contributor

bpasero commented Apr 24, 2026

@ssg can you agree to #300114 (comment)

@bpasero bpasero enabled auto-merge (squash) April 24, 2026 06:11
@ssg
Copy link
Copy Markdown
Contributor Author

ssg commented Apr 24, 2026

@microsoft-github-policy-service agree

auto-merge was automatically disabled April 24, 2026 06:51

Head branch was pushed to by a user without write access

Copy link
Copy Markdown
Member

@alexr00 alexr00 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

vscode.d.ts changes look good.

@bpasero bpasero enabled auto-merge (squash) April 24, 2026 10:19
@bpasero bpasero merged commit 750552d into microsoft:main Apr 24, 2026
40 of 41 checks passed
@ssg ssg deleted the cp857-support branch April 24, 2026 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CP857 is missing in supported document encodings

6 participants