From: <ms...@an...> - 2016-07-07 06:50:12
|
I'd like to be able to read and write bytes (not necessarily characters) from standard input and output, regardless of locale settings and possibly including sequences that are not valid in the locale. How can I do this? I've been able to find get_stream_info/3, which looks like it will tell me the current encoding setting for a stream, and it looks like "octet" is the one I want; but I haven't found any documented way to *set* this. -- Matthew Skala ms...@an... People before principles. http://ansuz.sooke.bc.ca/ |