In PHP, how do I deal with the difference in encoded filenames on HFS+ vs. elsewhere?
I am creating a very simple file search, where the search database is a text file with one file name per line. The database is built with PHP, and matches are found by grepping the file (also with PHP). This works great in Linux, but not on Mac when non-ascii characters are used. It looks like names are encoded differently on HFS+ (Ma...