Changeset 9674
- Timestamp:
- 2005-04-14T11:59:31+12:00 (19 years ago)
- Location:
- trunk/gsdl
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/etc/main.cfg
r9541 r9674 120 120 121 121 # This is very experimental, and you almost certainly don't need it 122 #Encoding shortname=utf-16 "longname=Unicode (UTF-16BE)"122 #Encoding shortname=utf-16be "longname=Unicode (UTF-16BE)" 123 123 124 124 # The ISO-8859 series -
trunk/gsdl/src/recpt/cgiutils.cpp
r9620 r9674 486 486 if (argnameinfo->multiplechar) { 487 487 // multiple character argument -- sort out any '-' chars 488 if (args["w"]=="utf-16 ") // browsers don't like \0 in urls...488 if (args["w"]=="utf-16be") // browsers don't like \0 in urls... 489 489 compressed_args += minus_safe (args[argname]); 490 490 else -
trunk/gsdl/src/recpt/receptionist.cpp
r9615 r9674 971 971 972 972 // needed for 16-bit unicode only - big endian marker 0xfeff (RFC 2781) 973 if (arg_w=="utf-16 ") {973 if (arg_w=="utf-16be") { 974 974 contentout << '\xfe' << '\xff' ; 975 975 } … … 1623 1623 configinfo.encodings[longname] = shortname; 1624 1624 1625 } else if (shortname == "utf-16 ") {1625 } else if (shortname == "utf-16be") { 1626 1626 // we use the default input converter as this shouldn't ever be used 1627 1627 // for converting from unicode...
Note:
See TracChangeset
for help on using the changeset viewer.