[Github-comments] [geany/geany] Error in "Document/Set Lineend/Set to xx and convert" (#1218)

Heihon notifications at xxxxx
Wed Sep 14 13:59:51 UTC 2016


AFAIK if you don't `fopen` with explicitely specifying binary mode, then windows will not `fread` all characters of the input file into your buffer. When the input file is not opened in binary mode, windows will modify the line endings (CRLF -> LF) and eat other characters too (I think 0x00 and Ctrl-Z).

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1218#issuecomment-247021924
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160914/24f760d1/attachment.html>


More information about the Github-comments mailing list