Stream read/write - encoding? e.g. binary, UTF8, UTF16, etc.
-
karlchansen
- Posts: 5
- Joined: Wed Jun 26, 2019 5:27 pm
- Has thanked: 1 time
- Been thanked: 1 time
Stream read/write - encoding? e.g. binary, UTF8, UTF16, etc.
Are files & streams always raw binary, or is there any byte encoding capability, i.e. designating a stream/file as UTF16 to always read a complete UTF16 character?
- Giovanni
- Site Admin
- Posts: 14893
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 997 times
Re: Stream read/write - encoding? e.g. binary, UTF8, UTF16, etc.
Hi,
Streams are meant to be binary, there are no assumptions on the kind of data exchanged.
Giovanni
Streams are meant to be binary, there are no assumptions on the kind of data exchanged.
Giovanni