6 ms·
UTF-8, Unicode.
by PawelDecowski 9y ago
UTF-8, Unicode.
- jancsika 9y agoAnd how do you represent line breaks?
- davidsong 9y agoCRLF unless your audience mostly use Mac or Linux.
- zlynx 9y agoIt seems to me the only thing on Windows that cares about CRLF is Notepad. Everything else works fine with just LF. A lot of new Windows software even seems to ship with LF format configuration files. Especially games, probably because it is so common to have a Windows game with Linux backend servers, so the developers are working with both. So anyway, I'd go with just LF unless your software is Windows only.
- nvader 9y agoFor most users, you press enter/return on your keyboard. A lot of text editors will detect line endings when opening a file and use that going forward.
- partycoder 9y agoWhat if you are using another encoding that already works for you? Same as real life alphabets and such?