notepad-plus-plus / notepad-plus-plus/notepad-plus-plus

[BUG] The encoding name ANSI is incorrect, should be Windows-1252

Open
#15,456 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
29.4k
Forks
5.4k
PR merge metrics
No merged PRs in 30d

Description

Is there an existing issue for this?
  • I have searched the existing issues
Description of the Issue

The first entry under Encoding is called "ANSI". This encoding name is incorrect. Its correct name is "Windows-1252".

Steps To Reproduce

Click in the menu bar on Encoding, check first entry.

Current Behavior

The first entry in Encoding is called "ANSI" (also in the status bar). This name is incorrect.

Expected Behavior

The correct name for this encoding is "Windows-1252" (correct name under Encoding > Character Set > Western European).
For details about the wrong name "ANSI" see Wikipedia: Windows-1252: Name.

Debug Information
Notepad++ v8.6.9   (64-bit)
Build time : Jul 12 2024 - 05:09:25
Path : C:\Program Files\Notepad++\notepad++.exe
Command Line : [...] 
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
Periodic Backup : ON
OS Name : Windows 10 Pro for Workstations (64-bit)
OS Version : 22H2
OS Build : 19045.4651
Current ANSI codepage : 1252
Plugins : 
    mimeTools (3.1)
    NppConverter (4.6)
    NppExport (0.4)
Anything else?

No response

Contributor guide

Open the contributing guide

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

No source file or test is named in the issue. Start by locating the string used for the first Encoding menu entry and the status bar, then verify both display “Windows-1252” instead of “ANSI” in the application.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.