Originally Posted By: Benni003
str_createw("") should create Unicode strings, but why this is not working? In the way you wrote before everything is fine.


Yes I know, that's why I use the approach above. I also don't know why str_createw("") doesn't work. Maybe because it only works with non-empty strings (didn't tested it).