json.JSONReader.setInputCharset

Defines the charset used on the input stream. By default the charset is based on the charset set by the system. For example, on Windows® it is Windows-1252, or on some Linux® systems it is UTF-8.

Syntax

setInputCharset(
   charset STRING )
  1. charset defines the character set to use.

Usage

Defines the character set used when decoding on the input stream.

In case of error, the method throws an exception and sets the status variable. Depending on the error, a human-readable description of the problem is available in the sqlca.sqlerrm register. See Error handling in GWS calls (status).