Skip to content

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

Description

@Bricklam

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions