Fixes UTF8 encoding and link pasting.