Adapt for barsooms env and hide a iconv warning.