1 diff -aur deadbeef-0.4.4/junklib.c deadbeef-0.4.4.new/junklib.c
2 --- deadbeef-0.4.4/junklib.c 2010-11-14 23:38:28.000000000 +0800
3 +++ deadbeef-0.4.4.new/junklib.c 2011-03-08 13:01:45.720000002 +0800
7 else if (encoding == 0) {
8 - // hack to add limited cp1251 recoding support
9 + // hack to add limited gbk recoding support
10 if (can_be_russian (str)) {
15 else if (encoding != 1 && !(version == 4 && encoding == 3)){
19 else if (encoding == 0) {
20 - // hack to add limited cp1251 recoding support
21 + // hack to add limited gbk recoding support
22 if (can_be_russian (str)) {
30 const char *enc = "iso8859-1";
31 if (can_be_russian (str)) {
36 if (junk_iconv (str, sz, out, sizeof (out), enc, UTF8) > 0) {
39 // check if that could be non-latin1 (too many nonascii chars)
40 if (can_be_russian (s)) {