Permalink
Browse files

[Yaml] tweaked error message

  • Loading branch information...
1 parent 8c5992e commit 9a5dc42f6611d6c103e6c0dc1c4688994fd68a89 @fabpot fabpot committed May 14, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 Parser.php
View
@@ -49,7 +49,7 @@ public function parse($value)
$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) {

0 comments on commit 9a5dc42

Please sign in to comment.