kpdecker / jsdiff

A javascript text differencing implementation.
BSD 3-Clause "New" or "Revised" License
7.69k stars 491 forks source link

Make diffChars diff Unicode code points instead of UTF-16 code units #500

Closed ExplodingCabbage closed 4 months ago

ExplodingCabbage commented 4 months ago

Forked from https://github.com/kpdecker/jsdiff/pull/395. (Sorry @luoxzhg, I couldn't figure out how to push to that PR for some reason so had to open a new one.)

ExplodingCabbage commented 4 months ago

Thanks for the contribution, @luoxzhg!