On Tue, Aug 17, 2010 at 6:19 PM, John Millikin <jmillikin@gmail.com> wrote:
Ruby, which has an enormous Japanese userbase, solved the problem byessentially defining Text = (Encoding, ByteString), and then
re-implementing text logic for each encoding. This allows very
efficient operation with every possible encoding, at the cost of
increased complexity (caching decoded characters, multi-byte handling,
etc).