Non ascii as function argument not working
kimlimjustin opened this issue · 1 comments
kimlimjustin commented
I tried to simply read function argument, and returning it back, and it works when argument is ascii characters, but it doesn't work when it's non-ascii characters, any help will be appreciated, thanks!
kimlimjustin commented
I found a way! my problem was I put a static length, instead, use NAPI_AUTO_LENGTH will fix it