Verify that the Oracle home for the import tool must have the NLS LANG=AMERICAN AMERICA.AL32UTF8 setting, and that On uses the parameter IGNORE=Y.
Import the schema. If the wrapped function is invalid after running 7ICOMP.SQL, then run O7ENRHAS.FUN from the …\TOOLS\SQL directory on the Datastream 7i Database Server CD and then run 7ICOMP.SQL again.