Re: Best way to handle UTF-8 in C++
Peter Olcott <NoSpam@ocr4screen.com> wrote:
"Juha Nieminen" <nospam@thanks.invalid> wrote in message
news:4be2fa33$0$11839$7b1e8fa0@news.nbl.fi...
Peter Olcott <NoSpam@ocr4screen.com> wrote:
I am looking for a way to handle UTF-8 text in my C++
application. The ideal case would be an STL class that
handles UTF-8. What is the next best thing?
Try this: http://utfcpp.sourceforge.net/
It may look a bit complicated at first, but once you get
the hang of it,
it's actually pretty easy and simple to use.
Is this one reliable?
From your other posts I get the impression that you don't want to
spend time actually testing evaluating new libraries (because it costs
your valuable time or whatever). Instead, you want others to do that
work for you and simply report their experience, in order to save your
time, money, or whatever. For free.
If you are so afraid of spending your valuable time in actually testing
new libraries (and instead you want to spend your time participating in
long threads about inconsequential things, complaining how learning new
things costs you valuable time), then the solution is rather simple: Don't
try it. There, you saved lots of time. (You got nowhere, but at least you
didn't spend any time getting anywhere, so it's a net win.)
On the other hand, if you really need and want a solution to your UTF-8
handling problems, then do some freaking work. Don't expect others to do
your work for you and offer the results in a silver platter.
The library I mention above is free. Just try it. If you don't like it,
then discard it. Your time cannot be *that* valuable.