Add mb_string support to XString