
12 Mar
2008
12 Mar
'08
10:37 p.m.
Graham wrote:
As requested, I have posted a Unicode character support library in the boost vault as Unicode_lib.zip.
Thanks for that. I'll study it properly in due course, but I've just had a quick look at your UTF8 functions for now. I see that you use tables for decoding, and I'll have to see how the performance of that compares to my version. For encoding you generate the bytes backwards, which is a trick that's unfortunately not available to an implementation that's templated on the output iterator, unless as a specialisation for random-access iterators. Anyway, I'll investigate further. Thanks again, Phil.