09-23-2013 05:47 PM
Does a function/procedure exist that can be used to validate a UTF8 string field for any non-compliant UTF8 characters?
Would something like this work:
if klength (in_field) ne klength ( kcvt( in_field, 'utf8', 'utf8')) then invalid_string = in_field; /* assuming kcvt would strip and non compliant utf8 characters */
klength and kcvt taken from SAS(R) 9.2 National Language Support (NLS): Reference Guide