Re:Write Plain Text Files
by bediger4000 on Tuesday July 04, 2023 @04:26PM
(#36592103)
Do "byte order marks" fall into the domain of plain text files?
If so, how should I consider them? They're usually not visible in a text editor (even vim), which means that simple file concatenation could produce bizarre results if one concatenated a little-endian (UTF-16) with a big-endian file.
Re:Write Plain Text Files
by u_name on Tuesday July 04, 2023 @04:32PM
(#36592168)
At first i was like "What?! Do we really need a tutorial on how to write and keep text files?!".
But then i realized, that some coworkers of mine were astonished and intrigued by the idea that i keep random notes in simple textfiles (although not in such a tidy hierarchy, but just using the current date as filename).
I love the simplicity of text files and I think md provides nice syntax sugar for txt files.
If so, how should I consider them? They're usually not visible in a text editor (even vim), which means that simple file concatenation could produce bizarre results if one concatenated a little-endian (UTF-16) with a big-endian file.
But then i realized, that some coworkers of mine were astonished and intrigued by the idea that i keep random notes in simple textfiles (although not in such a tidy hierarchy, but just using the current date as filename).