Changeset 3197


Ignore:
Timestamp:
2002-06-26T11:05:23+12:00 (22 years ago)
Author:
jrm21
Message:

convert document text from utf-8 to unicode for greenstone

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/colservr/mgppsearch.cpp

    r3175 r3197  
    295295  output.clear();
    296296  char* doctext_cstr = GetCStr(doctext);
    297   output = doctext_cstr;
     297  output = to_uni(doctext_cstr); // convert from utf-8 to unicode
    298298  delete doctext_cstr;
    299299
    300300  // here need to remove the <Document>, <Section>, <Paragraph> tags
    301301
    302   // mg converts to unicode, this may need to be added here???
    303 
     302 
    304303  //clean up
    305304  textdata.UnloadData ();
Note: See TracChangeset for help on using the changeset viewer.