Convert unicodes to utf-8 encoding when creating absolute urls.