
----- Original Message -----
From: Matus Chochlik <chochlik@gmail.com> To: boost@lists.boost.org Cc: Sent: Wednesday, May 30, 2012 2:25 PM Subject: Re: [boost] [nowide] Easy Unicode For Windows: Request For Comments/Preliminary Review
1) Let's use std::string as a encoding-agnostic string... [snip]
2) Let's implement a text storage class (and let's call it)
text;
This class would store text ... [snip]
[snip] The encoding tags would specify both concrete encodings like UTF-16 or ISO-8859-2, etc. and symbolic encodings [snip]
I want to stop this direction and discussion before it begins.
strange, but OK :)
The problem is that there were enough discussions on this topic... and they had not brought a solution.
This library is not generic library to handle text in all encodings and handle all possible 3rd part libraries and convert between them, and this library is not intended to be so.
I know it is not. What I'm saying is that it could be. There are lots of libraries that pick some subset of text handling, implement some useful things and then stop. Which is a shame because text handling su*ks in C++ and Boost is one of the platforms that have the influence to finally improve things.
The problem is that Unicode handling is so wide that it is almost impossible to cover everything, and generally you need to cut at some point. In any case I'd prefer to have a narrow range and useful library that does what it should to do. I used this nowide approach in CppCMS framework and it saved me huge amount of problems, so I'm sharing it. Also note boost::nowide::c(out|in|err) is really something interesting as it makes things finally work
I certainly don't want to push you into something that you don't want to do. You asked for opinions I just gave you mine.
I see :-) Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost