Set the charset from the locale for the content-type meta information. This wasn't being tracked in ad_conn, nor cached by acs-lang, nor used by lrn-master. It's now tracked in ad_conn, cached by acs-lang, and used properly by lrn-master.
Made the check for a message key in hashes (i.e. #package_key.message_key#) more robust by only recognizing it if both parts, separated by a ".", exists.
This reduces the odds of random text between hashes being mistaken for a key and throwing a "missing key" error.