Ok. Dang. ... the database I’m pulling from is all UTF-8 using non-standard characters (mostly IPA characters). The database hasn’t been changed at all, and it was working with Evolution, but now in Revolution all of those non-standard characters are getting lost. If it helps to know, the rows containing the special characters are all set as binary.
I’m going to take a stab in the dark, and guess that the caching mechanism is storing these files in Western-Roman encoding instead of UTF-8 which is where the special characters are getting dropped. ... but I’m probably wrong.
Am I using PDO wrong? Did I miss some setting in MODx? Any tips?
Are you creating a separate PDO connection? If so, you need to specify the encoding after making the connection using SET CHARACTER SET or SET NAMES, especially if your MySQL configuration is running the default of latin1_swedish_ci. It should have nothing to do with the caching unless you are not using utf8 encoding with your MODx database/tables.