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 » EOL problem
Re: EOL problem [message #21826 is a reply to message #21818] Sun, 07 June 2009 21:51 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14261
Registered: November 2005
Ultimate Member
gridem wrote on Sat, 06 June 2009 15:12

Using XML serialization I found the problem with EOL symbols: XML file was generated using '\n' on Windows platform. This is not a problem in many situations. But this file is opened in Windows notepad incorrectly.

So to correct this behavior on various platforms I prepared the patch which fixes my and other problems with EOL. I think it will be useful to include such patch into the main repository.

Patch was created on 1270 revision.


I am not sure this is the right approach. I believe that this will make Win32 code emit "\r\n" while Linux code will emit "\n".

Anyway, that is not too good for interchangeable format, is not it?

Maybe the better approach would be to generate "\r\n" always?

(So much trouble for single stupid notepad.exe... )

Mirek
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Problem with DirectoryExists() in windows
Next Topic: string filtering bug
Goto Forum:
  


Current Time: Mon Jun 16 22:09:29 CEST 2025

Total time taken to generate the page: 0.04265 seconds