Product Information > JADE Error Messages and System Messages > 5000 through 5099 - File Handling Errors > 5036 - Cannot open file, the kind property is different to actual file kind

5036   Cannot open file, the kind property is different to actual file kind

Cause

This error occurs when an attempt is made to open a file where the kind property of the File class has been set to a value such as Kind_Unicode_UTF16LE and the actual Byte Order Mark (BOM) header of the file does not match the requested kind.

Action

Check the kind property against the actual kind of the file. Specify the actual file kind, or use a more generic kind such as Kind_Unicode or Kind_Unknown_Text, as appropriate.