Convert unicode char to \uXXXX. For example use in Firefox Add-on