thanks Robin, i was using both open and codecs.open.. i didn't know about
the "rb". Now it works fine.
···
Alessandro Crugnola *sephiroth* wrote:
Mhh.. No
I open the file, which has only \r\n newlines, set the EOL mode to
CRLF and use the ViewEOLs, but i see only LF line endOk, assuming you are on Windows, how do you open the file? Using
Python's open() or file()? If so, binary or text mode? Or with
StyleTextCtrl.LoadFile?If using open() or file() then it is Python that is converting the \r\n
to \n. Open with mode "rb" to prevent it.--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!--------------------------------------------------------------------- To
unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org For
additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org