XML View and Content View
These are two web tools that can be invoked on objects directly or via search. In the case of XML View it exports the selected object, apply a style sheet and display the results in a browser complete with tags.
Content View does the same thing but displays the content in a text area that scrolls. In both cases these applications need to determine the encoding before the data is sent to the browser. Because both of these applications are used to view data (a one way trip) and not change or alter data it is safe to look at the actual data stream to determine the encoding for viewing. It determines the encoding by looking at the actual data stream and determining if it contains UTF-8 encoded data (multi-byte values) if it does then UTF-8 is used as the encoding, if not then ISO-8859-1 is used.