Mercurial > octave
changeset 31926:cd5be42a81ab
maint: Merge stable to default
author | Arun Giridhar <arungiridhar@gmail.com> |
---|---|
date | Fri, 24 Mar 2023 16:08:15 -0400 |
parents | b6e0171c3f44 (current diff) fcd97a68e5f7 (diff) |
children | fef004fa8575 |
files | libinterp/corefcn/oct-stream.h |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/corefcn/oct-stream.h Fri Mar 24 08:40:35 2023 -0700 +++ b/libinterp/corefcn/oct-stream.h Fri Mar 24 16:08:15 2023 -0400 @@ -119,7 +119,7 @@ std::ostream * preferred_output_stream () { - if (! m_encoding.compare ("utf-8")) + if (! m_encoding.compare ("utf-8") || (m_mode & std::ios::binary)) return output_stream (); if (m_conv_ostream)