11
submitted 1 month ago* (last edited 1 month ago) by cheese_greater@lemmy.world to c/asklemmy@lemmy.world

I've noticed some files I opened in a text editor have all kinds of crazy unrenderable chars

you are viewing a single comment's thread
view the rest of the comments
[-] leaky_shower_thought@feddit.nl 4 points 1 month ago

technically, yes. all unprintable binary can be resolved to 64 printable characters. but that resulting string may not be english or any human language.

[-] cheese_greater@lemmy.world 1 points 1 month ago* (last edited 1 month ago)

But its still contains the actual data in a faithfully reproducible/useable way?

[-] vithigar@lemmy.ca 6 points 1 month ago

Yes. Decoding a base64 encoded string will give you back the exact original data.

Importantly though, this isn't what you're seeing when you open files in a text editor as you describe in your original post, and if you copied the text of those files and saved a new copy it's very likely that it would not reproduce correctly.

[-] leaky_shower_thought@feddit.nl 4 points 1 month ago

yes, this method doesn't lose any bits. one of its primary use before was email which was strictly text only.

this post was submitted on 20 Sep 2024
11 points (92.3% liked)

Ask Lemmy

26753 readers
1478 users here now

A Fediverse community for open-ended, thought provoking questions

Please don't post about US Politics. If you need to do this, try !politicaldiscussion@lemmy.world


Rules: (interactive)


1) Be nice and; have funDoxxing, trolling, sealioning, racism, and toxicity are not welcomed in AskLemmy. Remember what your mother said: if you can't say something nice, don't say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. Please familiarize yourself with them


2) All posts must end with a '?'This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?


3) No spamPlease do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.


4) NSFW is okay, within reasonJust remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either !asklemmyafterdark@lemmy.world or !asklemmynsfw@lemmynsfw.com. NSFW comments should be restricted to posts tagged [NSFW].


5) This is not a support community.
It is not a place for 'how do I?', type questions. If you have any questions regarding the site itself or would like to report a community, please direct them to Lemmy.world Support or email info@lemmy.world. For other questions check our partnered communities list, or use the search function.


Reminder: The terms of service apply here too.

Partnered Communities:

Tech Support

No Stupid Questions

You Should Know

Reddit

Jokes

Ask Ouija


Logo design credit goes to: tubbadu


founded 1 year ago
MODERATORS