05-05-2009, 07:46 PM | #1 |
Junior Member
Join Date: May 2009
Posts: 2
|
ISPmanager and Charecter encodeing
While working with the File Manager in ISPmanager I ran across an error when I went to edit a file.
Error: Unsupported encoding The default coding was ANSI_X3.110 which gives a blank text field (at least for html files). CAUTION... do not hit the OK button, it'll wipe out the file. You can use the drop down to select a different character set and the ISO flavors seem to work fine. On further exploration of the interface I noticed that the Domains > WWWdomains > WWW Parameters allows you to enter a Coding (character set) as the default for the domain. Which charecter set would be best to use for this (English/American site)? Will this affect the File Manager default? If not is there a place that this can be set. Checking the online documentation gives no real guidelines for this. |
05-06-2009, 07:51 PM | #2 |
ISPsystem team
Join Date: May 2008
Location: ISPsystem
Posts: 588
|
Please check file with encoding sets - /usr/local/ispmgr/etc/filemgr.enc
If file does not exist - you need create file by command Code:
iconv -l |cut -d" " -f1|sed "s|//||g" > /usr/local/ispmgr/etc/filemgr.enc Code:
# cat /usr/local/ispmgr/etc/filemgr.enc ANSI_X3.4-1968 UTF-8 ISO-10646-UCS-2 UCS-2BE UCS-2LE ISO-10646-UCS-4 UCS-4BE UCS-4LE UTF-16 UTF-16BE UTF-16LE UTF-32 UTF-32BE UTF-32LE UNICODE-1-1-UTF-7 UCS-2-INTERNAL UCS-2-SWAPPED UCS-4-INTERNAL UCS-4-SWAPPED C99 JAVA CP819 ISO-8859-2 ISO-8859-3 ISO-8859-4 CYRILLIC ARABIC ECMA-118 HEBREW ISO-8859-9 ISO-8859-10 ISO-8859-11 ISO-8859-13 ISO-8859-14 ISO-8859-15 ISO-8859-16 KOI8-R KOI8-U KOI8-RU CP1250 CP1251 CP1252 CP1253 CP1254 CP1255 CP1256 CP1257 CP1258 850 862 866 MAC MACCENTRALEUROPE MACICELAND MACCROATIAN MACROMANIA MACCYRILLIC MACUKRAINE MACGREEK MACTURKISH MACHEBREW MACARABIC MACTHAI HP-ROMAN8 NEXTSTEP ARMSCII-8 GEORGIAN-ACADEMY GEORGIAN-PS KOI8-T CP154 MULELAO-1 CP1133 ISO-IR-166 CP874 VISCII TCVN ISO-IR-14 JISX0201-1976 ISO-IR-87 ISO-IR-159 CN CHINESE CN-GB-ISOIR165 EUC-JP MS_KANJI CP932 ISO-2022-JP ISO-2022-JP-1 ISO-2022-JP-2 CN-GB GBK CP936 GB18030 ISO-2022-CN ISO-2022-CN-EXT HZ EUC-TW BIG-5 CP950 BIG5-HKSCS:1999 BIG5-HKSCS:2001 BIG5-HKSCS EUC-KR CP949 CP1361 ISO-2022-KR CP856 CP922 CP943 CP1046 CP1124 CP1129 CP1161 CP1162 CP1163 DEC-KANJI DEC-HANYU 437 CP737 CP775 852 CP853 855 857 CP858 860 861 863 CP864 865 869 CP1125 EUC-JISX0213 SHIFT_JISX0213 ISO-2022-JP-3 BIG5-2003 ISO-IR-230 ATARI RISCOS-LATIN1 |
05-07-2009, 12:15 AM | #3 |
Junior Member
Join Date: May 2009
Posts: 2
|
Thanks! I am still a bit concerned that if the correct encodeing is not selected that the text field is blank. If the OK button is hit then the file is wiped clean. I am afraid that clients might make this mistake on files.
|
12-21-2010, 10:21 AM | #4 | |
Senior Member
|
Quote:
still on every new debian installation, i must use this bugfix manually |
|
12-22-2010, 03:58 AM | #6 |
ISPsystem team
Join Date: Jan 2009
Posts: 111
|
I've just cheked it. filemgr.enc is created automatically in the script: /usr/local/ispmgr/sbin/ISPmanager-install.sh. Perhaps, the problem is in your method of installation. There are to ways to install ISPmanager. The first one is to download and run install.sh (the best way). The second one is to download install.tgz and run /usr/local/ispmgr/sbin/ispinstall (In this case the problem can appear).
|
12-22-2010, 11:16 AM | #7 | |
Senior Member
|
Quote:
the debian-506-i386-netinst.iso without any additional packets, then "aptitude install ssh" and install ispmgr over ssh. now i logon to ispmgr go to file-manager open a file and become the "cannot encode file" error |
|
Thread Tools | |
|
|