Fixed to convert in utf-8 earlier in the process.
This commit is contained in:
parent
3c29e4e6ae
commit
7b0ece42f0
@ -501,6 +501,8 @@ class IDF_Scm_Git extends IDF_Scm
|
|||||||
if (preg_match('/^commit (\w{40})$/', $line)) {
|
if (preg_match('/^commit (\w{40})$/', $line)) {
|
||||||
if (count($c) > 0) {
|
if (count($c) > 0) {
|
||||||
$c['full_message'] = trim($c['full_message']);
|
$c['full_message'] = trim($c['full_message']);
|
||||||
|
$c['full_message'] = IDF_Commit::toUTF8($c['full_message']);
|
||||||
|
$c['title'] = IDF_Commit::toUTF8($c['title']);
|
||||||
$res[] = (object) $c;
|
$res[] = (object) $c;
|
||||||
}
|
}
|
||||||
$c = array();
|
$c = array();
|
||||||
@ -534,6 +536,8 @@ class IDF_Scm_Git extends IDF_Scm
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
$c['full_message'] = !empty($c['full_message']) ? trim($c['full_message']) : '';
|
$c['full_message'] = !empty($c['full_message']) ? trim($c['full_message']) : '';
|
||||||
|
$c['full_message'] = IDF_Commit::toUTF8($c['full_message']);
|
||||||
|
$c['title'] = IDF_Commit::toUTF8($c['title']);
|
||||||
$res[] = (object) $c;
|
$res[] = (object) $c;
|
||||||
return $res;
|
return $res;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user