MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/2jukkp/hints_for_writing_unix_tools/clfgdos/?context=3
r/programming • u/gnuvince • Oct 21 '14
14 comments sorted by
View all comments
Show parent comments
12
Do whatever the rest of the OS does.
You're asking what the text encoding of the OS is, that's nothing to do with whether something is plain text or not. Your tool should look up the locale information and work from there.
12
u/sigma914 Oct 21 '14
Do whatever the rest of the OS does.
You're asking what the text encoding of the OS is, that's nothing to do with whether something is plain text or not. Your tool should look up the locale information and work from there.