Fix display saving to account for variable length UTF-8 characters