Support passing utf-8 strings from JavaScript to C++. (#1355)

We first convert utf-16 strings to Uint8Array and then we
pass the array to C++.
This commit is contained in:
Fangjun Kuang
2024-09-18 11:03:42 +08:00
committed by GitHub
parent bf06b268d0
commit cddac52780
3 changed files with 34 additions and 12 deletions

View File

@@ -1,5 +1,5 @@
{
"dependencies": {
"sherpa-onnx-node": "^1.10.26"
"sherpa-onnx-node": "^1.10.27"
}
}