On Wed, 04 Feb 2015 03:27:28 +0100
Benoît Minisini gam...@users.sourceforge.net wrote:
Le 02/02/2015 08:49, adamn...@gmail.com a écrit :
If I have a data file in the project which has windows style line endings,
i.e. CRLF then the IDE thinks it's a binary file.
Don't really know if this
Le 02/02/2015 08:49, adamn...@gmail.com a écrit :
If I have a data file in the project which has windows style line endings,
i.e. CRLF then the IDE thinks it's a binary file.
Don't really know if this is a bug or just an anomaly or what is the expected
behaviour?
e.g. attached. In the
I observed that Win7 tends to add some kind of flag byte(s) at the
beginning of the file when it's UTF-8 (under VB).
Otherwise, I have solved the problem in one of my programs that must
write UTF-8 files for a Win (VB) and Linux (Gambas) client, by adding a
CR+LF at the end of each line when
Le 03/02/2015 12:45, Rolf-Werner Eilert a écrit :
I observed that Win7 tends to add some kind of flag byte(s) at the
beginning of the file when it's UTF-8 (under VB).
Yes, this is one of the (many) design failures of windows.
Otherwise, I have solved the problem in one of my programs that
Am 03.02.2015 13:12, schrieb Benoît Minisini:
Le 03/02/2015 12:45, Rolf-Werner Eilert a écrit :
I observed that Win7 tends to add some kind of flag byte(s) at the
beginning of the file when it's UTF-8 (under VB).
Yes, this is one of the (many) design failures of windows.
Otherwise, I
He Jussi, would one not expect to see CR, LF in a binaryfile and would expect
to see EOF.
Regards Mike
On Tuesday, 3 February 2015, 2:11, Jussi Lahtinen
jussi.lahti...@gmail.com wrote:
It would certainly be good thing if IDE would have converter for these
cases. Meanwhile it should
It would certainly be good thing if IDE would have converter for these
cases. Meanwhile it should be pretty easy to write script to convert the
line endings.
However, it's strange that I did not have this problem with source files...
maybe this is bug in how Gambas detect binary files.
Jussi
On
Of course binary file can have CR and LF. But if they are only control
characters in the file, then it should not be considered as binary file.
I don't understand what is your point about EOF.
Jussi
On Tue, Feb 3, 2015 at 4:00 AM, Mike Crean mike.cr...@y7mail.com wrote:
He Jussi, would one