Integrate the UTF-8 to Latin1 conversion code.