169
you are viewing a single comment's thread
view the rest of the comments
[-] AnyOldName3@lemmy.world 4 points 3 months ago

It's controlled by whether the stream's opened in text mode or binary mode. On Unix, they're the same, but on Windows, text mode has line ending conversion.

this post was submitted on 05 Apr 2025
169 points (95.7% liked)

Programmer Humor

37334 readers
252 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 6 years ago
MODERATORS