cpaint Method Summary
void start ( string input_encoding )
Calls the user function responsible for this specific call.
» string input_encodinginput data character encoding, default is UTF-8
» Access: public
This method starts the processing of the frontend request on the backend and must be called by your application after a CPAINT object has been instanciated and your application has been completely set up.
It reads the request parameters from the CPAINT frontend as configured in cpaint.call() and looks whether your application provides the requested method. If that's the case, that method will be called with the parameters provided by the CPAINT frontend.
The start method of the backend API of CPAINT takes a single optional parameter to define the character set of all input data. If you omit the parameter, UTF-8 is assumed to be the character set.
Make sure you provide the correct character set if you're using non-UTF-8 data, such as ISO-8859-X, a Windows codepage (e.g. CP1252) or EUC-JP. Otherwise the correct display of characters on the frontend can not be guaranteed.