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

converting files doesn't seem to work? #4

Open
naikrovek opened this issue Jan 7, 2025 · 0 comments
Open

converting files doesn't seem to work? #4

naikrovek opened this issue Jan 7, 2025 · 0 comments

Comments

@naikrovek
Copy link

When I paste the contents of a blueprint into a file and save it, that file can't be decoded by this tool. I think the newline that almost all text editors add to the end of every text file is not being handled by your parser. POSIX compliant text editing tools require that text files end with a new line and will enforce it by default.

There is no requirement that something in the clipboard have a newline at the end, so using your tool with the clipboard works fine.

Also, base64 encoded stuff is often wrapped at 80 characters or less, and you may consider stripping newlines entirely before parsing a file if you don't already.

I'm not stuck or anything, and you don't owe me nothin' so if you don't want to make this change, that's fine with me. I just wanted to let you know about this.

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