Show
Ignore:
Timestamp:
02/18/08 16:40:34 (3 years ago)
Author:
artem
Message:

added Unicode support based on ICU

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/plugins/input/postgis/postgisfs.cpp

    r617 r650  
    133133           else if (oid==25 || oid==1042 || oid==1043) // text or bpchar or varchar 
    134134           { 
    135               std::string str(buf); 
    136               trim(str); 
    137               std::wstring wstr = tr_->transcode(str); 
    138               boost::put(*feature,name,wstr); 
     135              //std::string str(buf); 
     136              //trim(str); 
     137              //std::wstring wstr = tr_->transcode(str); 
     138              UnicodeString ustr = tr_->transcode(buf); 
     139              boost::put(*feature,name,ustr); 
    139140           } 
    140141           else if (oid == 1700) // numeric