You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The guichan repo (https://code.google.com/p/guichan/) has some log entries which are utf-8 encoded, some which are not. All of these get appended together and the XML encoder has not way to parse the string.
Fixed by adding a single line to getPrettyFormat in Repository.php:
publicfunctiongetPrettyFormat($command)
{
$output = $this->getClient()->run($this, $command);
$format = newPrettyFormat;
+ // Remove invalid UTF-8 sequences (which would trip the XML parser)
+ $output = mb_convert_encoding($output, 'UTF-8', 'UTF-8');
return$format->parse($output);
}
The text was updated successfully, but these errors were encountered:
The guichan repo (https://code.google.com/p/guichan/) has some log entries which are utf-8 encoded, some which are not. All of these get appended together and the XML encoder has not way to parse the string.
Fixed by adding a single line to getPrettyFormat in Repository.php:
The text was updated successfully, but these errors were encountered: