Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous message
mr_ped is currently offline  mr_ped
Messages: 826
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.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Is there a way to fetch objects w/o default constructor?
Next Topic: C++ parsing
Goto Forum:
  


Current Time: Thu Sep 04 04:07:18 CEST 2025

Total time taken to generate the page: 0.05187 seconds