randexp extension for multibyte characters