Skip to content
Snippets Groups Projects
Commit 22f5dd46 authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Open the quote file in "binary" mode (only applicable on Windows)

If the quote file contained a Ctrl-Z (ASCII 26) char, it would be truncated
at that point. Some UTF-8 messages that include a "right arrow" unicode code
point are translated to ASCII Ctrl-Z (ASCII 26) char, which is interpretted
by Windows as "EOF" (end of file) marker for files open in "text mode" and
the file won't be read beyond that char. Open the file in binary mode to
more closely match the *nix fopen() before.
parent 2e2c1ec5
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment