Project

General

Profile

Bug #434 » fix_polish_epg_final.patch

bigtarget bigtarget, 2011-05-13 16:00

View differences:

src/dvb/dvb_support.c
95 95
    return -1;
96 96

  
97 97
  case 0x01 ... 0x0b:
98
    ic = convert_iso_8859[src[0] + 4];
98
    if (dvb_default_charset != NULL && strcmp(dvb_default_charset, "Polish") == 0) {
99
      if (src[0] + 4 == 2) {
100
        ic = convert_iso_8859[2];
101
      } else {
102
        ic = convert_latin1;
103
      }
104
    }  else {
105
      ic = convert_iso_8859[src[0] + 4];
106
    }
99 107
    src++; srclen--;
100 108
    break;
101 109

  
src/webui/static/app/dvb.js
408 408
				fields: ['key','value'],
409 409
				data: [
410 410
					['ISO6937','default'],
411
					['Polish','Polish'],
411 412
					['ISO6937','ISO6937'],
412 413
					['ISO8859-1','ISO8859-1'],
413 414
					['ISO8859-2','ISO8859-2'],
414
- 
(6-6/7)