Ticket #293: omega-rssh-293.patch

File omega-rssh-293.patch, 762 bytes (added by ruslan shevchenko, 16 years ago)
  • xapian-omega-1.0.7

    diff -udr xapian-omega-1.0.7/htmlparse.cc xapian-omega-1.0.7.patched/htmlparse.cc
    old new  
    339339                                *i = tolower(static_cast<unsigned char>(*i));
    340340                            // in case of multiple entries, use the first
    341341                            // (as Netscape does)
    342                             if (Param.find(name) == Param.end())
     342                            if (Param.find(name) == Param.end()) {
     343                                // values can be non-iso
     344                                convert_to_utf8(value,charset);
    343345                                Param[name] = value;
    344                         }
     346                            }
     347                        }                       
     348                     
    345349                    }
    346350                }
    347351                opening_tag(tag, Param);