David Abrahams wrote: > "Edward Diener" <[EMAIL PROTECTED]> writes: > >> I still feel that a fixed width Unicode encoding has to be an >> advance over variable width encodings like MBCS for any character >> set. > > I guess that depends on how important random access over the > characters of a string is to you. To me, it seems like an edge case.
Random access means that the algorithms for string manipulation and comparison are much easier and faster with fixed width encoding. It's the tradeoff of size vs. speed again, with speed this time also meaning much easier and clearer code. I'll go for the latter. I realize that variable width encodings can save space, but it hardly seems worthwhile to me given the algorithmic downside and complexity of the former. _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost