FilterBest.charset

Calculates the best charset for encoding the content filtered through the best filter.

class FilterBest
string
charset
()

Return Value

Type: string

the name of the charset most suitable for encoding the content that has been passed through the filter or null if the filter was not configured to detect this.