Fixed ByteString::printReprToStream().
Added the globalization mechanism.