Added Russion support
This commit is contained in:
parent
8149bb99f6
commit
7a3b700eac
@ -120,6 +120,7 @@ char *getchrs(int val)
|
||||
case FTNC_LATIN_2: return (char *)"LATIN-2 2";
|
||||
case FTNC_LATIN_5: return (char *)"LATIN-5 2";
|
||||
case FTNC_MAC: return (char *)"MAC 2";
|
||||
case FTNC_KOI8_R: return (char *)"KOI8-R 2";
|
||||
default: return (char *)"LATIN-1 2";
|
||||
}
|
||||
}
|
||||
@ -138,7 +139,8 @@ char *getchrsdesc(int val)
|
||||
case FTNC_LATIN_1: return (char *)"ISO 8859-1 (Western European)";
|
||||
case FTNC_LATIN_2: return (char *)"ISO 8859-2 (Eastern European)";
|
||||
case FTNC_LATIN_5: return (char *)"ISO 8859-5 (Turkish)";
|
||||
case FTNC_MAC: return (char *)"MacIntosh character set";
|
||||
case FTNC_MAC: return (char *)"MacIntosh character set";
|
||||
case FTNC_KOI8_R: return (char *)"Unix codepage KOI8-R (Russian)";
|
||||
default: return (char *)"ERROR";
|
||||
}
|
||||
}
|
||||
|
@ -428,7 +428,8 @@ struct icmp_filter {
|
||||
#define FTNC_MAC 8 /* MacIntosh character set */
|
||||
#define FTNC_CP852 9 /* IBM CP 852 (Czech, Latin-2) */
|
||||
#define FTNC_CP895 10 /* IBM CP 895 (Czech, Kamenicky) */
|
||||
#define FTNC_MAXCHARS 10 /* Highest charset number */
|
||||
#define FTNC_KOI8_R 11 /* Unix koi8-r */
|
||||
#define FTNC_MAXCHARS 11 /* Highest charset number */
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
|
Reference in New Issue
Block a user