mbstring is optional, behave as expect.