WebView: use custom C-- function if CP1251 to CP866 convert is failed in iconv.obj (the case for 4pda.to)
Please somebody fix iconv... git-svn-id: svn://kolibrios.org@9306 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
7aed43b0ca
commit
a6e0b135b3
@ -107,4 +107,4 @@ char editbox_icons[] = FROM "res/editbox_icons.raw";
|
||||
|
||||
#define DEFAULT_URL URL_SERVICE_HOMEPAGE
|
||||
|
||||
char version[]="WebView 3.62b";
|
||||
char version[]="WebView 3.62c";
|
@ -45,6 +45,9 @@ dword ChangeCharset(dword from_chs, to_chs, conv_buf)
|
||||
if (from_chs == CH_UTF8) && (to_chs == CH_CP866) {
|
||||
utf8rutodos(conv_buf);
|
||||
}
|
||||
if (from_chs == CH_CP1251) && (to_chs == CH_CP866) {
|
||||
wintodos(conv_buf);
|
||||
}
|
||||
} else {
|
||||
strcpy(conv_buf, new_buf);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user