Changeset 13461
- Timestamp:
- 2006-12-08T12:06:47+13:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/cgiutils.cpp
r13456 r13461 270 270 // convert %xx and + to their appropriate equivalents 271 271 // IE 6.0 and later use "%u" followed by 4 hex digits... MS IIS extension! 272 // NOTE: this method is crap. It assumes the input encoding is utf-8. If it 273 // actually was, then this returns utf-8, and needs to_uni on the 274 // result to get it back to unicode. If the encoding wasn't utf-8, then the 275 // output may be crap. Seems to work for 8 bit encodings. 276 // Really, this should be given the encoding, and should always return unicode. 272 277 void decode_cgi_arg (text_t &argstr) { 273 278 text_t::iterator in = argstr.begin(); … … 320 325 // remove the excess characters 321 326 argstr.erase (out, end); 327 322 328 } 323 329
Note:
See TracChangeset
for help on using the changeset viewer.