Land #11771, Force UTF-8 for more module metadata fields

master
Brent Cook 2019-04-24 20:23:51 -05:00
commit 98146fe419
No known key found for this signature in database
GPG Key ID: 1FFAA0B24B708F96
1 changed files with 3 additions and 0 deletions

View File

@ -193,8 +193,11 @@ class Obj
end
def force_encoding(encoding)
@name.force_encoding(encoding)
@full_name.force_encoding(encoding)
@description.force_encoding(encoding)
@author.each {|a| a.force_encoding(encoding)}
@references.each {|r| r.force_encoding(encoding)}
end
end