Convert unicode paramets to utf-8.