Closed coolaj86 closed 9 years ago
See https://jsperf.com/utf-8-acceptance-test
var str "I'm a ☢ ☃ who speaks 中国语文, loves 𝄢 guitar, and plays in 💩!"
becomes
<script> Benchmark.prototype.setup = function() { var str = "I'm a ☢ ☃ who speaks 中国语文, loves }; </script>
I changed things a little bit to not include 4-byte utf8 chars, but still couldn't run all of my intended tests: https://jsperf.com/utf-8-encoding-decoding
In case you can't actually see those characters, here are some others:
💩 𐑶 𐐦 🃏 𝄢 𩶘
Related to #93.
See https://jsperf.com/utf-8-acceptance-test
becomes
I changed things a little bit to not include 4-byte utf8 chars, but still couldn't run all of my intended tests: https://jsperf.com/utf-8-encoding-decoding