CharlieFRuan opened a new pull request, #17031:
URL: https://github.com/apache/tvm/pull/17031

   This PR fixes passing Javascript string with special characters to C for web 
runtime.
   
   Take the upside-down exclamation mark `¡` as an example. This should encode 
to `\xC2\xA1` according to https://mothereff.in/utf-8#%C2%A1 and other sources:
   
   ```
   OldStringToUint8Array("¡") --> [161, 0]
   NewStringToUint8Array("¡") --> [194, 161, 0]
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to