thank you Sergey but sometime wchar* is zero-terminated strings (LPWSTR) i feel lack of toStringz(wchar[]) and toString(wchar*) functions in phobos or i missed something?