Fix to_param when attribute has multibyte character
Merge pull request #13386 from rono23/fix-to-param

Fix to_param when attribute has multibyte character