Ns choosecharset

From AOLserver Wiki
Revision as of 04:34, 19 June 2004 by WikiSysop (talk | contribs) (imported from WiKit id 532)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Man page: http://aolserver.com/docs/tcl/ns_choosecharset.html


NAME

ns_choosecharset - Return the name of the most appropriate charset for the request

SYNOPSIS

ns_choosecharset ?-preference charset-list?

DESCRIPTION

Performs an analysis of the request's accepted charsets, against either the given charset list, or the configured default preferred character set list (ns/parameters/PreferredCharsets).

EXAMPLES

   % ns_choosecharset
   iso-8859-1
   % ns_choosecharset -preference list cp-1258 macromania
   cp-1258

SEE ALSO

ns_charsets

Category Documentation - Category Core Tcl API