diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2010-01-02 16:42:02 +0100 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2010-01-02 16:42:02 +0100 |
commit | 98e76473bd1abc342a8990f0a577ae08f9885307 (patch) | |
tree | be5d3237ded8348edc8c03d9d0e161ab04514c30 /cdumb.c | |
parent | d182dbc82478f36bd9ff876d915aab68990cb6c4 (diff) |
disabled cp1251 detection in DUMB plugin
Diffstat (limited to 'cdumb.c')
-rw-r--r-- | cdumb.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -724,6 +724,7 @@ static const char *convstr (const char* str, int sz) { const char *enc = "iso8859-1"; int latin = 0; int rus = 0; +#if 0 for (int i = 0; i < sz; i++) { if ((str[i] >= 'A' && str[i] <= 'Z') || str[i] >= 'a' && str[i] <= 'z') { @@ -737,6 +738,7 @@ static const char *convstr (const char* str, int sz) { // might be russian enc = "cp1251"; } +#endif cd = iconv_open ("utf8", enc); if (!cd) { // printf ("unknown encoding: %s\n", enc); |