template::util::set_file_encoding (public)

 template::util::set_file_encoding file_channel_id

Defined in packages/acs-templating/tcl/util-procs.tcl

Set encoding of the given file channel based on the OutputCharset parameter of AOLserver. All ADP, Tcl, and txt files are assumed to be in the same charset.

Parameters:
file_channel_id (required)
The id of the file to set encoding for.
Author:
Peter Marklund

Testcases:
read_write_file
[ show source ]
Show another procedure: