Converts html entities to utf8 equivalents
special db wrapper for mysql based on the limitation of mysql/mb3
Callback function for preg_replace_callback
Uses capture group 1 in the supplied array
Does basic checks to keep characters inside a viewable range.