I use the recipe http://yiiframework.ru/doc/cookbook/ru/form.file.upload.fat.model . The problem is that when updating a name (not a document), the link to the document is deleted (the document itself is in place). I understand that an empty post is coming, but how can I fix this?
And yet, when you save the Russian document, the preservation goes in the crater. Then it appears normally, but in the folder krakozyabry. I understand that he win win 1251 in unicode, but still unpleasant.