[eclipse-clp-users] Setting encoding for I/O

From: <mskala_at_...206...>
Date: Thu, 7 Jul 2016 01:52:09 -0500 (CDT)
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@...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.2.0 : Mon Jul 09 2018 - 02:05:30 CEST