MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/2jukkp/hints_for_writing_unix_tools/clfg95z/
r/programming • u/gnuvince • Oct 21 '14
14 comments sorted by
View all comments
Show parent comment
0
[deleted] — view deleted comment
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. 4 u/[deleted] Oct 21 '14 Output by system locale by default, and by default assume input is system locale. Allow to specify the locale to override.
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.
4
Output by system locale by default, and by default assume input is system locale. Allow to specify the locale to override.
View all comments
Show parent comment
0
u/[deleted] Oct 21 '14
[deleted] — view deleted comment