Fix fatal error that happens when `mbstring` isn't loaded.