A problem was discovered converting a string into numeric and vice versa using the ctsqlStringToNumeric or ctsqlNumericToString functions when the library is compiled with Unicode support. The logic has been modified so that the two functions consider if the string passed in (or in output) is ASCII or UTF16 depending on the Unicode compilation switch.