Re: unicode file
- From: "Mihai N." <nmihai_year_2000@xxxxxxxxx>
- Date: Sun, 22 Jun 2008 19:22:19 -0700
However, the extra library I wrote (nothing special, of course) is useful
for its simplicity and to give a RAII approach to Unicode UTF-8 text file
management.
No debate here, it can still be useful.
it is simpler than calling _open, specifying some flags, converting
UTF-16 -> UTF-8, closing the file, etc.
My small library does the UTF-16 to UTF-8 conversion behind the scene.
This kind of conversion is what is also happening with then new _open.
Not saying your library is not useful.
People use CFile instead of CreateFile, std::string or CString instead
of char* and so on.
But I also think one should be aware of all options, to be able to
choose what fits best for her/his case.
--
Mihai Nita [Microsoft MVP, Visual C++]
http://www.mihai-nita.net
------------------------------------------
Replace _year_ with _ to get the real email
.
- Follow-Ups:
- Re: unicode file
- From: Giovanni Dicanio
- Re: unicode file
- From: Giovanni Dicanio
- Re: unicode file
- References:
- Re: unicode file
- From: Mihai N.
- Re: unicode file
- From: Giovanni Dicanio
- Re: unicode file
- Prev by Date: Re: loosing messages leakes my app...
- Next by Date: Re: Dialog size in pixel
- Previous by thread: Re: unicode file
- Next by thread: Re: unicode file
- Index(es):
Relevant Pages
|
Loading