Backport SMS Latin-1 fix