pike.git / lib / modules / Standards.pmod / IIM.pmod

version» Context lines:

pike.git/lib/modules/Standards.pmod/IIM.pmod:198:    }       //werror("%3d: ", id);    //werror("%O\n", data);    //werror("info: %O\n", String.string2hex(info));    string label =    fields[record_set][id] ||    (string)record_set + ":" + (string)id;       if (label == "coded character set") { -  if (data == "\e%5") { +  if (data == "\e%G") { +  res->charset = (res->charset || ({})) + ({ "UTF-8" }); +  } else if (data == "\e%5") {    res->charset = (res->charset || ({})) + ({ "iso-8859-1" });    }    }       if (label == "special instructions" && lower_case(data) == "nyhedstjeneste")    res->charset = (res->charset || ({})) + ({ "iso-8859-1" });       if ((binary_fields[record_set] && binary_fields[record_set][id]) ||    (<3, 7>)[record_set]) {    // Decode binary fields.