Ignore:
Timestamp:
2003-01-13T20:09:15+13:00 (21 years ago)
Author:
jrm21
Message:

tidied up to make sure all textout << "string" commands go through the
outconverter so we have the right charset for the output.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/recpt/hlistbrowserclass.cpp

    r2684 r3666  
    101101                   
    102102  if (use_table || colnumber > 0) {
    103     textout << "<table><tr><td>";
     103    textout << outconvert << "<table><tr><td>";
    104104    // get tab size
    105105    text_t tab; int itab;
     
    109109                   << "<img src=\"_httpimg_/space.gif\" width="
    110110                   << (itab*colnumber) << ">";
    111     textout << "</td>\n";
     111    textout << outconvert << "</td>\n";
    112112  }
    113113
    114   textout << "<table><tr>\n";
     114  textout << outconvert << "<table><tr>\n";
    115115
    116116  ResultDocInfo_tarray::iterator tsibling = response.docInfo.begin();
     
    158158
    159159    if (num_chars>100) { // this is fairly arbitrary...
    160       textout << "</tr>\n<tr>";
     160      textout << outconvert << "</tr>\n<tr>";
    161161      num_chars=0;
    162162    }
    163163
    164     textout << "<td>" << outconvert << disp << fmt_str << "</td>\n";
     164    textout << outconvert << "<td>" << disp << fmt_str << "</td>\n";
    165165    tsibling ++;
    166166  }
    167167
    168   textout << "</tr></table>\n";
    169   if (use_table  || colnumber > 0) textout << "</tr></table>\n";
     168  textout << outconvert << "</tr></table>\n";
     169  if (use_table  || colnumber > 0) textout << outconvert << "</tr></table>\n";
    170170  return 0;
    171171}
Note: See TracChangeset for help on using the changeset viewer.