Checking whether a string contain Font 0 characters only
Author: a.widdowson@midlandhr.co.uk (awiddowson)
I am trying to fix a problem whereby a Uniface component reads from a entity mapped to an ldap driver. The ldap data contains a name with letters that are not in font 0 (we are using LATIN1 as characterset) which is causing problems when storing the data onto the Oracle database (Error 0131 font not valid message is produced). So I am trying to test the string to see if any non ascii characters in it. Have tried using a syntax string (if field='?' on each character) but this is not working. Going through the characters in the string one by one, one of them is set to $?. Is there a better way to detect for non font 0 characters in a string. This application is Uniface 7.




