[STR Closed w/Resolution]

Link: http://www.fltk.org/str.php?L2573
Version: 1.1.10
Fix Version: None


This is not a FLTK/fluid problem, but a general Windows vs. Linux
difference. Fluid on Windows generates .fl files in text mode, i.e. a
single linefeed (^J) is replaced with CR/LF (^M/^J) when writing the file
by the OS. If you transfer Windows fluid files to Linux, you must either
use an appropriate tool (for instance: use "ascii mode" in ftp), or strip
the Windows line endings by using a tool like dos2unix (aka d2u) on the
Linux side. Failing to do so leaves the additional ^M in the label text,
and this results in displaying it in the label.

OTOH, if you create .fl files on Linux and copy the files to a Windows
system, everything is okay, because the CR characters would be stripped
anyway when reading the file. This is normal behavior.


Link: http://www.fltk.org/str.php?L2573
Version: 1.1.10
Fix Version: None

_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to