Support multi-byte characters