BBjHttpRequest::getCharacterEncoding (Deprecated)
BBjHttpRequest::getCharacterEncoding is deprecated for BBj 21.00 and higher, and has been replaced by BBxServletRequest::getCharacterEncoding.
Description
In BBj 12.00 and higher, this method returns the character encoding used by the client to create this BBjHttpRequest.
Syntax
Return Value |
Method |
string |
getCharacterEncoding() |
Parameters
None.
Return Value
a string containing the character encoding
Remarks
The example below shows getting the character encoding of a request within a BBjServlet.
Example
|