FIX content tof focus utf-8
This commit is contained in:
parent
883ff8f768
commit
d06efe2738
|
@ -1,7 +1,7 @@
|
|||
module RepositoriesHelper
|
||||
def render_decode64_content(str)
|
||||
return nil if str.blank?
|
||||
Base64.decode64(str)
|
||||
Base64.decode64(str).force_encoding('UTF-8')
|
||||
end
|
||||
|
||||
def download_type(str)
|
||||
|
|
Loading…
Reference in New Issue