It appears mb_detect_encoding doesn't gracefully fail to the default namespace if it's not found in the current one