You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actually, nodejs encode string as utf-8 as default, so as say.js. But it seems that platform like win32 decodes it as GBK.
To fix this problem, I forked this repository, and add setEncoding method for Say Class.
You can setEncode('gbk') before speak.
Here is an example.
Actually, nodejs encode string as utf-8 as default, so as say.js. But it seems that platform like win32 decodes it as GBK.
To fix this problem, I forked this repository, and add setEncoding method for Say Class.
You can setEncode('gbk') before speak.
Here is an example.
Thanks for your idea, although I failed to act in your way, as the code doesn't know the 'gbk' code.
However, I worked this out with the encoding package 'iconv-lite' with your guidance. A new solution could be found in my repository, which can be an optional way for the other guys.
Hello, The Chinese words '你好' should be pronunced 'ni hao'. But when I try this on windows 10
It says something sounds like 'huan chai' to me.
Is that a problem or should I install some more plug-in? Thanks.
The text was updated successfully, but these errors were encountered: