diff --git a/app/Models/Application.php b/app/Models/Application.php index 59b46f7e7..d6c222a97 100644 --- a/app/Models/Application.php +++ b/app/Models/Application.php @@ -1659,7 +1659,7 @@ public function parseContainerLabels(?ApplicationPreview $preview = null) $this->custom_labels = base64_encode($customLabels); } $customLabels = base64_decode($this->custom_labels); - if (mb_detect_encoding($customLabels, 'ASCII', true) === false) { + if (mb_detect_encoding($customLabels, 'UTF-8', true) === false) { $customLabels = str(implode('|coolify|', generateLabelsApplication($this, $preview)))->replace('|coolify|', "\n"); } $this->custom_labels = base64_encode($customLabels);