![]() ![]()
UPDATE: In this case I ended up rsyncing the files to a virtual machine running Ubuntu, running convmv on them on there, and then rsyncing again to my staging server. I'm guessing quite a few people are having similar issues, I'll be happy to hear any solution or workaround! the -iconv option in rsync seemed ideal, but unfortunately my server running rsync 2.6.9 did not recognize it. I've tried FTP-upload using Transmit and rsync (using a deploy script a normally use) to no avail. I'm looking for a way to change the UTF decomposition of the files during (preferably) or after ( convmv looks like a good option, but I don't have sufficient permissions on this server it's not possible in this particular case) transfer, since I'm guessing it's impossible doing it beforehand. As a result, the newly uploaded (and in some cases replaced) files will not be accessible at the expected URL. However, once I am done and want to upload the files their names will now be using NFD decompositions, since Linux supports them both. OS X's HFS+ file system on the other hand does not allow NFC decomposed filenames and converts into NFD. The image files involved, being created in a Linux machine, appears to have their filenames encoded in UTF-8 using NFC decomposition. via ftp download), processing them in one way or another and the putting them back on the production site. One such instance involves downloading images (user generated content, e.g. I am doing website development on OS X, and fairly often I find myself in situations where I move some part of a live website (running Linux/LAMP) to a development server running on my own machine.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |