Boost logo

Boost Users :

From: John Maddock (john_maddock_at_[hidden])
Date: 2002-07-03 05:46:33


> DBCS encodings like SJIS are variable-width. But the real problem is that
> given an iterator into a DBCS string, it is impossible to tell where the
> previous character starts without walking back to the beginning of the
> string. So you can really only make a forward DBCS iterator, not a
> bidirectional one. And I think regex++ requires bidirectional iterators,
> right John?

Yes that's right, obviously my understanding of DBCS strings was flawed.

John Maddock
http://ourworld.compuserve.com/homepages/john_maddock/index.htm


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