If I send an email from outlook with umlauts to create or update a case, then the encoding of the text is wrong.
Encoding should be right.
Currently it looks like:

Looks like the issue starts with the commit:
https://github.com/salesagility/SuiteCRM/commit/34236b845dbb8347d3c8118effb8e1837c692710
After calling parseDescription() in modules/AOP_Case_Updates/AOP_Case_Updates.php (Line 117 ff.) the description text is HTML decoded and it will be saved into the DB. The issues is caused within the DOM manipulation inside the parseDescription function.
public function save($check_notify = false)
{
$this->name = SugarCleaner::cleanHtml($this->name);
$this->parseDescription();
parent::save($check_notify);
If I replace $this->parseDescription(); with $this->description = SugarCleaner::cleanHtml($this->description); everything works fine.
Has to be fixed, otherwise the case updates are wrong encoded.
Proposed fix in modules/AOP_Case_Updates/AOP_Case_Updates.php line 144:
Actual:
$dom->loadHTML($description);
Fix:
$dom->loadHTML(mb_convert_encoding($description, 'HTML-ENTITIES', 'UTF-8'));
I have the same issue. The fix works fine for me.
Most helpful comment
Proposed fix in modules/AOP_Case_Updates/AOP_Case_Updates.php line 144:
Actual:
$dom->loadHTML($description);Fix:
$dom->loadHTML(mb_convert_encoding($description, 'HTML-ENTITIES', 'UTF-8'));