Function: sgml-xml-auto-coding-function

Determine whether the buffer is XML, and if so, its encoding.
This function is intended to be added to `auto-coding-functions'.