I've just inherited a PB 12 app running against ASE 12.5.3. I'm looking at one particular window with a datawindow object whose data source is a very simple SELECT statement; nothing unusual about it. Yet when data is retrieved into one particular column, I notice that any question mark characters in the data are converted into apostrophes when it displays. For instance, the name Jim O'Learyseems to be stored in the database as Jim O?Leary. (Or at least when I'm in my SQL script editor (DBArtisan) and I issue a simple SELECT on that column, it displays with the question mark). But when data is retrieved into the dw object, it correctly displays as Jim O'Leary.
I poked around for some string function that someone may have written to do this, but haven't found anything. Any ideas about what could be going on?