Fix bug in padding unicode, #17105.

Yes, fixed.