mbstring fallbacks

Signed-off-by: Carlos Ramos <stemlets+git@gmail.com>