fix length limit of WideChar2MultiByte