Logo Search packages:      
Sourcecode: icu version File versions  Download package

U_STABLE UBool U_EXPORT2 ucsdet_isInputFilterEnabled ( const UCharsetDetector ucsd  ) 

Test whether input filtering is enabled for this charset detector. Input filtering removes text that appears to be HTML or xml markup from the input before applying the code page detection heuristics.

Parameters:
ucsd The charset detector to check.
Returns:
TRUE if filtering is enabled. ICU 3.6

Definition at line 142 of file ucsdet.cpp.

References FALSE, and NULL.

{
    // todo: could use an error return...
    if (ucsd == NULL) {
        return FALSE;
    }

    return ((CharsetDetector *) ucsd)->getStripTagsFlag();
}


Generated by  Doxygen 1.6.0   Back to index