Specifying code pages for support files and logs > Specifying code pages for function files

Specifying code pages for function files
All function files used in the Design Center must be UTF-8 encoded. In order to make the StreamServer interpret the function file as UTF-8 encoded, the file must begin with the following text string:
CodePage UTF8
Example 7
CodePage UTF8
func timetotal()
...
 
Function files created from within a resource set
If you create a new function file from within a resource set, the encoding is automatically set to UTF-8. When you open the function file in the resource editor, the code page information string CodePage UTF8 is added by default.
Function files created using external text editors
You can create a function file using an external text editor, and then import the function file to a resource set. Before you import the file you must:
enter CodePage UTF8 as the first line of text
Function files in upgraded Projects
If you are upgrading Projects prior to 4.1 you must modify the function files. Before you upgrade you must:
enter CodePage UTF8 as the first line of text
 
OpenText StreamServe 5.6 Updated: 2013-03-01