Add UTF-8 support for substring.  Add VARBINARY as a valid type for substring.