JavaScript Unicode normalization

前端 未结 4 2047
执念已碎
执念已碎 2020-12-16 14:33

I\'m under the impression that JavaScript interpreter assumes that the source code it is interpreting has already been normalized. What, exactly does the normalizing? It can

4条回答
  •  执笔经年
    2020-12-16 14:52

    If you're using node.js, there is a unorm library for this.

    https://github.com/walling/unorm

提交回复
热议问题