Changeset 3197

Show
Ignore:
Timestamp:
26.06.2002 11:05:23 (17 years ago)
Author:
jrm21
Message:

convert document text from utf-8 to unicode for greenstone

Files:
1 modified

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 ();