RE: [boost] Re: Any interest in adding unicode support to boost?

From: Peter Dimov [mailto:pdimov@mmltd.net] Sent: October 20, 2004 15:52
To paraphrase, unnecessary parameterization is the root of most evil nowadays. Parameters are a liability, not an asset.
I'd sign that any day ! However, the primary goal behind my XML wrapper library (which, by the way, I already discussed here on the boost list to see whether there was enough interest into a general purpose C++ API for dealing with XML...) was to define an API, and to provide a sample implementation as a proof-of-concept. The fact that this particular implementation I'v been using is based on utf-8 should be transparent (though accessible). Regards, Stefan

Stefan Seefeld wrote:
The fact that this particular implementation I'v been using is based on utf-8 should be transparent (though accessible).
Then you should provide constructors/functions that take iterators to UTF-8, UTF-16, and UTF-32. Users will invoke whatever is most convenient to them, and you'll do the conversion internally. Unless I am misunderstanding something.
participants (2)
-
Peter Dimov
-
Stefan Seefeld