#!/bin/ch /* Copyright (c) 2001 by SoftIntegration, Inc. All Rights Reserved */ #include int main() { class CResponse Response; chchar *charSet_def, *charSet_cur; // get default char set charSet_def = Response.getCharSet(); // put char set "ISO-LATIN-1" Response.setCharSet("ISO-LATIN-1"); // get current char set charSet_cur = Response.getCharSet(); Response.begin(); Response.title("Test of Response.setCharSet and Response.getCharSet"); printf("

Test of Response.setCharSet and Response.getCharSet


\n"); printf("The Default Char Set is : %s
\n", charSet_def); printf("The Current Char Set is : %s
\n", charSet_cur); Response.end(); }