SWI-Prolog Did You Know Did you know? don't use format/2 to print errors Search Documentation:
PL_unify_string_chars()