sudo mousepad /var/www/html/nextcloud/apps/mail/lib/IMAP/Charset/Converter.php
public function convert(Horde_Mime_Part $p): string {
/** @var null|string $data */
$data = $p->getContents();
if ($data === null) {
return ”;
}
// Only convert encoding if it is explicitly specified in the header because text/calendar
// data is utf-8 by default.
$charset = $p->getCharset();
if ($charset === ‘ks_c_5601-1987’) {
$charset = ‘CP949’;
}
if ($charset !== null && strtoupper($charset) === ‘UTF-8’) {
return $data;
}
…………
Nextcloud 유지보수 모드
sudo -u www-data php /var/www/nextcloud/occ maintenance:repair