Made a truncate script that also decodes into utf-8