[net] fix utf-16 issue under win32