Home » U++ Library support » U++ Core » CR visibile with notepad
|
|
|
|
Re: CR visibile with notepad [message #18213 is a reply to message #18191] |
Wed, 17 September 2008 08:57 |
mr_ped
Messages: 825 Registered: November 2005 Location: Czech Republic - Praha
|
Experienced Contributor |
|
|
And the PutLine does use PutEol which is defined as PutCrLf under Win32 platform.
Keep in mind, while using U++ Eol function, if you do a non-win32 version of your software, it will produce the text files with simple \n only, just your windows version will produce \r\n files.
So text files generated with linux version will be still "broken" in windows Notepad.
And reading this source I also started to realize the C++ probably always does compile "\n" as 13, so when you want MS-DOS line ends, you have to write "\n\r" everywhere...
Can't we just get rid of notepad instead? It's very annoying.
Just as MS codepages vs utf8... This windows thing feels to me like a big stone attached to leg in recent years, and MS keep insisting on the obsolete concepts even with new version, so there's no light at the end of the tunnel.
|
|
|
Goto Forum:
Current Time: Wed May 15 05:29:51 CEST 2024
Total time taken to generate the page: 0.02310 seconds
|