Fix pasting from @+ from Chromium

Can now guess if a string is a utf-8 decoded as latin1, and re-encode it
correctly as latin1 before pasting.