Removed get_content_charset() due to errors in ST2.  Doesn't look like it was used anyway.