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 mskala_at_...206... People before principles. http://ansuz.sooke.bc.ca/Received on Thu Jul 07 2016 - 06:50:12 CEST
This archive was generated by hypermail 2.3.0 : Wed Sep 25 2024 - 15:13:21 CEST