Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Encryptpad removes non-breaking spaces in the plain text file, replacing them with white spaces (in the output file) #137

Open
Bricklam opened this issue Jun 13, 2024 · 1 comment

Comments

@Bricklam
Copy link

I used Encryptpad to open & encrypt a text file (with many unicode characters) as gpg, but later when I decrypted the file back to plain text, I noticed it is size is different than the original file, when I inspected the content: I found that all non-breaking space characters (included in the original file) were gone and replaced by white space characters, indicating that (Encryptpad) editor cannot handle/save non-breaking space characters.
Note: that this problem doesn't appear when encrypting the same text file without opening it in Encryptpad, by using (File > File Encryption) feature, but only if the file was opened & encrypted inside the application.

Note: here I uploaded a sample text file with non-breaking space characters if you want to test it, you can easily view non-breaking space characters by opening the file in (Sublime Text), it appears as: "<0xa0>".
sample_text.txt

@Bricklam
Copy link
Author

I also noticed another minor bug: the edit files get changed when pressing the keys: (Ctrl+Shift), although they don't shouldn't cause any modifications (since no editing is done), you can verify that by noticing the file modification character (*), appears in the top bar when the file is edited, once (Ctrl+Shift) were pressed together, indicating a file modification

anyway, I want to thank you for your work on this promising project.

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

No branches or pull requests

1 participant