why does editing json files and then saving them in the default text editor that comes with linux mint seem to corrupt them?
Conversation
Notices
-
Embed this notice
Eniko | Kitsune Tails out now! (eniko@peoplemaking.games)'s status on Thursday, 29-Aug-2024 06:04:25 JST Eniko | Kitsune Tails out now! -
Embed this notice
13 barn owls in a trenchcoat (hauntedowlbear@eldritch.cafe)'s status on Thursday, 29-Aug-2024 06:04:21 JST 13 barn owls in a trenchcoat Line endings encoding would be my guess too.
TL;DR Unix standard is \n, DOS standard is \r and those inherited.
Details: https://dev.to/thebridge2/carriage-return-line-feed-crlf-linux-vs-windows-482i
-
Embed this notice
Alexander Hamizdat for Harris (alexhammy@hachyderm.io)'s status on Thursday, 29-Aug-2024 06:04:22 JST Alexander Hamizdat for Harris In conversation permalink -
Embed this notice
Bearmine (bearmine@gamepad.club)'s status on Thursday, 29-Aug-2024 06:04:24 JST Bearmine @eniko changing the encoding? Changing the line endings? Adding a byte order marking?
Or is it literally just saving out garbage?
In conversation permalink -
Embed this notice
13 barn owls in a trenchcoat (hauntedowlbear@eldritch.cafe)'s status on Thursday, 29-Aug-2024 06:13:25 JST 13 barn owls in a trenchcoat that is genuinely mysterious
In conversation permalink -
Embed this notice
Eniko | Kitsune Tails out now! (eniko@peoplemaking.games)'s status on Thursday, 29-Aug-2024 06:13:26 JST Eniko | Kitsune Tails out now! @HauntedOwlbear @alexhammy @bearmine it's not line endings, that's why i'm confused https://peoplemaking.games/@eniko/113041671827833620
In conversation permalink Attachments
-
Embed this notice