use as_unicode for bootstrap3 compatibility