PHP supposedly supports both UTF-8 and UTF-16 with mb_convert_encoding, so there might be a way to force PHP to play nicely with Finder accented characters, but at the moment I don't have time to mess with it. The problem crops up in a FOSS cloud file storage app I was tinkering with (the developers actually withdrew the OS X version of the app because of it).