Changed to work on RawByteString strings instead of UTF-8 strings.
Authored by: delphidabbler 2010-06-01
Parent: [r782]
Child: [r784]