Subversion Repositories Kolibri OS

Rev

Rev 6882 | Rev 6894 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6882 Rev 6892
Line 49... Line 49...
49
 
49
 
Line 50... Line 50...
50
int encoding(const char *what) {
50
int encoding(const char *what) {
51
	
51
 
-
 
52
	if (!strcmp(what,"CP866")) return CP866;
52
	if (!strcmp(what,"CP866")) return CP866;
53
	if (!strcmp(what,"CP1251")) return CP1251;
53
	if (!strcmp(what,"CP1251")) return CP1251;
54
	if (!strcmp(what,"windows-1252")) return CP1252;
54
	if (!strcmp(what,"CP1252")) return CP1252;
55
	if (!strcmp(what,"CP1252")) return CP1252;
55
	if (!strcmp(what,"KOI8-RU")) return KOI8_RU;
56
	if (!strcmp(what,"KOI8-RU")) return KOI8_RU;
56
	if (!strcmp(what,"ISO8859-5")) return ISO8859_5;
57
	if (!strcmp(what,"ISO8859-5")) return ISO8859_5;
57
	if (!strcmp(what,"UTF-8")) return UTF_8;
-
 
58
	return -1;
58
	if (!strcmp(what,"UTF-8")) return UTF_8;
Line 59... Line 59...
59
	
59
	return -1;
60
}
60
}