mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
"some alternative charsets for the import, a hardcoded list for now, as all languages use utf-8"
This commit is contained in:
parent
f0293b3c9d
commit
3e29477fe9
@ -376,6 +376,18 @@
|
||||
$data .= ($data ? ', ' : $charset.': ').$lang;
|
||||
}
|
||||
}
|
||||
// add the old charsets, to provide some alternatives to utf-8 while importing
|
||||
foreach(array(
|
||||
'iso-8859-1' => 'Western european',
|
||||
'iso-8859-2' => 'Eastern european',
|
||||
'iso-8859-7' => 'Greek',
|
||||
'euc-jp' => 'Japanese',
|
||||
'euc-kr' => 'Korean',
|
||||
'koi8-r' => 'Russian',
|
||||
'windows-1251' => 'Bulgarian') as $charset => $lang)
|
||||
{
|
||||
$this->charsets[$charset] .= (!isset($this->charsets[$charset]) ? $charset.': ' : ', ') . $lang;
|
||||
}
|
||||
}
|
||||
return $this->charsets;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user