Skip to content

Commit

Permalink
fix: mail view encoding issue postalserver#2462
Browse files Browse the repository at this point in the history
  • Loading branch information
toptaran committed Aug 29, 2023
1 parent 2f62baa commit 1917249
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/initializers/mail_extensions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def find_attachment
def decode_body_as_text
body_text = decode_body
charset_tmp = begin
Encoding.find(Ruby19.pick_encoding(charset))
Encoding.find(Utilities.pick_encoding(charset))
rescue StandardError
"ASCII"
end
Expand Down

1 comment on commit 1917249

@stereu
Copy link

@stereu stereu commented on 1917249 Oct 23, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems good to me, tried it and this solves the related bug.

Please sign in to comment.