Unicode decode changes in migration subroutine