Ns register encoding
Jump to navigation
Jump to search
NAME
- ns_register_encoding - Map method/URL combination to a specific charset encoding for decoding the request (new in AOLserver 4.5)
SYNOPSIS
- ns_register_encoding ?-noinherit? method URL charset
DESCRIPTION
- ns_register_encoding command enables mapping of method/URL combinations to specific charset encodings used to decode the request. If no mapping exists for a given method/URL, the server will use that defined for the virtual server or process wide by the urlcharset config setting. This setting defaults to NULL, or no encoding, thus assuming UTF-8 characters in the request data.
- charset should be in the MIME format, not Tcl encoding format, i.e. iso-8859-1, not iso8859-1.