use utf-8 for coin4 and latin1 for coin3