From: Yui NARUSE Date: 2010-01-24T13:30:05+09:00 Subject: [ruby-core:27752] [Bug #2636] Incorrect UTF-16 string length Issue #2636 has been updated by Yui NARUSE. Or following will explain this: > "\xDC\x0b\xD8\x40".force_encoding(Encoding::UTF_16BE) => "\xDC\u0BD8\x40" ---------------------------------------- http://redmine.ruby-lang.org/issues/show/2636 ---------------------------------------- http://redmine.ruby-lang.org