[[ Bug 13876 ]] Ensure format function supports unicode