PR 84615 Regressions due to type mismatch with character functions