Forráskód Böngészése

[Yaml] tweaked error message

Fabien Potencier 14 éve
szülő
commit
e1347e788e
1 módosított fájl, 1 hozzáadás és 1 törlés
  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) {