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 » Community » Coffee corner » Portability of serialized files on Linux(UBUNTU) and Windows
Portability of serialized files on Linux(UBUNTU) and Windows [message #42800] Fri, 04 April 2014 23:01 Go to previous message
ManfredHerr is currently offline  ManfredHerr
Messages: 67
Registered: February 2013
Location: Germany
Member
Hi,

if you serialize a structure that contains multiline text in Linux and try to read it in Windows then you get an error (and vice versa). I think this is because of the additional carriage return of text lines in Windows.

This CR you have to take care of as well when reading text files in a string and split it into lines.

The question is: Is it more important to be compatible to windows text or to be portable?

I think there should be an option to strip this CR. Isn't it?

Perhaps, there is already one and I missed it? Rolling Eyes
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Optimizing svo_memeq -- just for curiosity
Next Topic: key software locker
Goto Forum:
  


Current Time: Fri Apr 26 19:47:52 CEST 2024

Total time taken to generate the page: 0.02803 seconds