convertion between ansi string and wide string