in reply to Re: Faster utf8 escaping.
in thread Faster utf8 escaping.

Shouldn't you escape "\" as well?

I'd think so, but Unicode::Escape doesn't. In our code, we escape that and quotation marks before calling it.