CLEANUP: re-wrote x_chars() to get rid of most of the wide-character issues in the implementation.  Should provide some speedup as well for conversions that need wide characters and error-cases.
CLEANUP: re-wrote x_chars() to get rid of most of the wide-character
issues in the implementation.  Should provide some speedup as well
for conversions that need wide characters and error-cases.

mndrix/swipl-devel,koryonik/swipl-devel,jn7163/swipl-devel,koryonik/swipl-devel,mndrix/swipl-devel,jn7163/swipl-devel,jn7163/swipl-devel,jn7163/swipl-devel,mndrix/swipl-devel,edechter/swipl-devel,mndrix/swipl-devel,mndrix/swipl-devel,koryonik/swipl-devel,edechter/swipl-devel,koryonik/swipl-devel,koryonik/swipl-devel,jn7163/swipl-devel,edechter/swipl-devel,edechter/swipl-devel,edechter/swipl-devel