notepad-plus-plus / notepad-plus-plus/notepad-plus-plus
[Noteepad++ Questions / Suggestions] - Copying Special characters.
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 29.4k
- Forks
- 5.4k
- PR merge metrics
- No merged PRs in 30d
Description
Description of the Issue
I think this can be considered a problem, the Notepad is partly a hex editor, but it cannot copy the special character "NUL", after copying and pasting it turns into a Space. (((((At which the hex from "00" changes to "20", that is, it really goes into a space) Sometimes when editing files, it interferes, for example, when searching for a line in the cache or dll.
Steps to Reproduce the Issue
1.Open any file with special characters.
2. Copy the line in which there is "NUL".
3. Paste the copied line. (After which "NUL" will be replaced by a Space)
Expected Behavior
The question is rhetorical, but I will fill it out according to the template. I expected that "NUL" would remain in place of "NUL" after copying. =)
Actual Behavior
Already described above.
Debug Information
Notepad++ v8.4.9 (64-bit)
Build time : Jan 27 2023 - 03:11:16
Path : C:\Program Files\Notepad++\notepad++.exe
Command Line : "C:\Wargaming.net\Tanks_Blitz\vcruntime140.dll"
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
OS Name : Windows 10 Pro (64-bit)
OS Version : 21H2
OS Build : 19044.2486
Current ANSI codepage : 1251
Plugins :
mimeTools (2.9)
NppConverter (4.5)
NppExport (0.4)


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 by reproducing the reported behavior in Notepad++: open a file containing NUL, copy the line, and paste it. Trace the copy-and-paste path and verify completion by confirming that the NUL remains unchanged rather than becoming a space (hex 00 to 20), with coverage for this case if the project’s existing tests support it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100