I have an encoding problem with apostrophes using the PHP API to fetch a valuelist.
The resulting valuelist contains some hospital names and some of those have apostrophes.
Here is an extract of the raw results using print_r:
=> Royal Melbourne Hospital  => Royal WomenRoyal Women’s Hospital  => St VincentSt Vincent’s Private Hospital  =>
The problem is that where the value contains an apostrophe is being chopped short at that point and then the entire value is repeated in a single value. If I use htmlspecialchars() on the resulting valuelist, the valuelist is empty.
I have tried currly quotes (’) and foot marks (')... in the original field data...
The apostraphe must be maintained or reinstated for data entry..
... not sure what else to try... any ideas?
Lyndsay Howarth (B. Ed)
11th Hour Group Pty Ltd