# Correos rechazados son ilegibles

**URL:** <https://meta.discourse.org/t/rejected-mails-are-unreadable/392868>\
**Category:** Bug\
**Tags:** email\
**Created:** [7 Enero, 2026 12:09 UTC](https://meta.discourse.org/t/rejected-mails-are-unreadable/392868 "2026-01-07T12:09:19Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![lilydjwg](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilydjwg/32/515838_2.png) [@lilydjwg](https://meta.discourse.org/u/lilydjwg)\
**Post date:** [2 Febrero, 2026 06:24 UTC](https://meta.discourse.org/t/rejected-mails-are-unreadable/392868/5 "2026-02-02T06:24:10Z")

</div>

Lo he entendido. La `part` de un `Mail` tiene la información de `charset` correcta, pero de alguna manera su `body` no la obtiene y trata los bytes como `ASCII-8BIT`.

```ruby
sed -i 's/part.body.decoded/part.body.decoded.force_encoding(part.charset || "utf-8")/' /var/www/discourse/lib/email/cleaner.rb

```

---

_[View the full topic](https://meta.discourse.org/t/rejected-mails-are-unreadable/392868)._
