getCharacterSet

String scrapeableFile.getCharacterSet ( )

Description

Get the character set being used in the page response rendering.

Parameters

This method does not receive any parameters.

Return Values

Returns the character set applied to the scraped page, as a string. If a character set has not been specified then it will default to the character set specified in settings dialog box.

Change Log

Version Description
4.5 Available for all editions.

If you are having trouble with characters displaying incorrectly, we encourage you to read about how to go about finding a solution using one of our FAQs.

Examples

Get Character Set

 // Get the character set of the dataSet
 charSetValue = scrapeableFile.getCharacterSet();

See Also

  • setCharacterSet() [scrapeableFile] - Set the character set used to responses to a specific scrapeable file.
  • setCharacterSet() [session] - Set the character set used to render all responses.
  • getCharacterSet() [session] - Gets the character set used to render all responses.