Fix unicode handling on territorial string format