Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost's direction regarding UTF8 -> UTF32 andUTF32 -> UTF8
From: Joel de Guzman (joel_at_[hidden])
Date: 2010-06-24 21:28:30


On 6/25/10 8:36 AM, Mathias Gaunard wrote:
> Le 24/06/2010 23:46, Joel de Guzman a écrit :
>
>>> My library deals with this.
>>
>> How? By storing the beginning, the end, and the current position?
>
> Yes.
> Storing the beginning should not be necessary for non-bidirectional
> iterators though.

Ouch. Just because of that one exceptional case (invalid UTF input
at the end of the string.)?

Regards,

-- 
Joel de Guzman
http://www.boostpro.com
http://spirit.sf.net

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net