Changeset 3668
- Timestamp:
- 2003-01-13T20:13:02+13:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/receptionist.cpp
r3663 r3668 891 891 outconverter->reset(); 892 892 893 // needed for 16-bit unicode only - big endian marker 0xfeff (RFC 2781) 894 if (arg_w=="utf-16") { 895 contentout << '\xfe' << '\xff' ; 896 } 893 897 894 898 recptproto *collectproto = protocols.getrecptproto (args["c"], logout); … … 1431 1435 configinfo.encodings[longname] = shortname; 1432 1436 1437 } else if (shortname == "utf-16") { 1438 // we use the default input converter as this shouldn't ever be used 1439 // for converting from unicode... 1440 inconvertclass *inconverter = new inconvertclass(); 1441 utf16outconvertclass *outconverter = new utf16outconvertclass(); 1442 add_converter (shortname, inconverter, outconverter); 1443 configinfo.encodings[longname] = shortname; 1444 1433 1445 } else if (!mapfile.empty()) { 1434 1446
Note:
See TracChangeset
for help on using the changeset viewer.