In my output filter, I need to parse the document to search for certain patterns.
Where can I get the information about the (character) encoding so that I can parse the document correctly? Eg the document may contain unicode characters and are encoded in a special encoding. Thanks, John