R
Raider
What layer performs translation from "\r\n" to single '\n' when reading
text files by C++ file streams?
Is translation performed by locale's code_cvt facet or by OS? May be
even by C library that is used by file streams to handle files?
I'm trying to get such functionality when using utf8 facet. It requires
file to be opened in binary mode and this lead to leak of CR-LF
transformations.
Raider
text files by C++ file streams?
Is translation performed by locale's code_cvt facet or by OS? May be
even by C library that is used by file streams to handle files?
I'm trying to get such functionality when using utf8 facet. It requires
file to be opened in binary mode and this lead to leak of CR-LF
transformations.
Raider