Fixed missing detection of ISO-8859-2 characters.

This commit is contained in:
Loic d'Anterroches
2010-03-26 14:53:43 +01:00
parent 77c7f8ecfe
commit a5f97c59d9
3 changed files with 31 additions and 1 deletions

View File

@@ -171,7 +171,7 @@ class IDF_Commit extends Pluf_Model
*/
public static function toUTF8($text)
{
$enc = 'ASCII, UTF-8, ISO-8859-1, JIS, EUC-JP, SJIS';
$enc = 'ASCII, UTF-8, ISO-8859-2, ISO-8859-1, JIS, EUC-JP, SJIS';
$ref = $text;
if (is_array($text)) {
$ref = $text[0];