Kaynağa Gözat

[Yaml] tweaked error message

Fabien Potencier 14 yıl önce
ebeveyn
işleme
e1347e788e
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      src/Symfony/Component/Yaml/Parser.php

+ 1 - 1
src/Symfony/Component/Yaml/Parser.php

@@ -49,7 +49,7 @@ class Parser
         $this->lines = explode("\n", $this->cleanup($value));
 
         if (function_exists('mb_detect_encoding') && false === mb_detect_encoding($value, 'UTF-8', true)) {
-            throw new ParserException('The input does not appear to be valid UTF8.');
+            throw new ParserException('The YAML value does not appear to be valid UTF-8.');
         }
 
         if (function_exists('mb_internal_encoding') && ((int) ini_get('mbstring.func_overload')) & 2) {