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
It's great to find a library like this, string manipulation in JS often leaves much to be desired. However, the limited scope of testing with strings containing multibyte Unicode characters is concerning. Multibyte characters often create quite a few headaches. (These's a nice writeup about the challenges here)
There are already a few tests that check the processing of multibyte characters, e.g. decencode.test.js. Having more tests to ensue safe handling of strings containing multibyte characters would be a wonderful addition!
Understandably, it might not be possible for all functions to safely support multibyte characters. Perhaps this could be documented as a limitation on these functions?
It's great to find a library like this, string manipulation in JS often leaves much to be desired. However, the limited scope of testing with strings containing multibyte Unicode characters is concerning. Multibyte characters often create quite a few headaches. (These's a nice writeup about the challenges here)
There are already a few tests that check the processing of multibyte characters, e.g. decencode.test.js. Having more tests to ensue safe handling of strings containing multibyte characters would be a wonderful addition!
Understandably, it might not be possible for all functions to safely support multibyte characters. Perhaps this could be documented as a limitation on these functions?
Simple example of current behavior:
The text was updated successfully, but these errors were encountered: