{"action":"created","issue":{"url":"https://api.github.com/repos/danmunn/redmine_dmsf/issues/455","labels_url":"https://api.github.com/repos/danmunn/redmine_dmsf/issues/455/labels{/name}","comments_url":"https://api.github.com/repos/danmunn/redmine_dmsf/issues/455/comments","events_url":"https://api.github.com/repos/danmunn/redmine_dmsf/issues/455/events","html_url":"https://github.com/danmunn/redmine_dmsf/issues/455","id":109780265,"number":455,"title":"Error uploading documents ","user":{"login":"alternative4","id":10988501,"avatar_url":"https://avatars.githubusercontent.com/u/10988501?v=3","gravatar_id":"","url":"https://api.github.com/users/alternative4","html_url":"https://github.com/alternative4","followers_url":"https://api.github.com/users/alternative4/followers","following_url":"https://api.github.com/users/alternative4/following{/other_user}","gists_url":"https://api.github.com/users/alternative4/gists{/gist_id}","starred_url":"https://api.github.com/users/alternative4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alternative4/subscriptions","organizations_url":"https://api.github.com/users/alternative4/orgs","repos_url":"https://api.github.com/users/alternative4/repos","events_url":"https://api.github.com/users/alternative4/events{/privacy}","received_events_url":"https://api.github.com/users/alternative4/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/danmunn/redmine_dmsf/labels/duplicate","name":"duplicate","color":"cccccc"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-05T11:50:54Z","updated_at":"2015-10-05T11:56:07Z","closed_at":"2015-10-05T11:56:07Z","body":"Hi. I am running DMSF on redmine with the following Windows 2008R2 configuration:\r\n\r\nEnvironment:\r\n  Redmine version                3.1.1.stable\r\n  Ruby version                   2.1.6-p336 (2015-04-13) [x64-mingw32]\r\n  Rails version                  4.2.4\r\n  Environment                    production\r\n  Database adapter               Mysql2\r\nSCM:\r\n  Subversion                     1.8.13\r\nRedmine plugins:\r\n  redmine_dmsf                   1.5.4\r\n\r\nWhen I try to upload document, which has russian letters in its name (from the document details screen), I get the following error:\r\n![image](https://cloud.githubusercontent.com/assets/10988501/10279540/470f77c0-6b6f-11e5-9769-911649e9af5c.png)\r\n\r\nThe log says:\r\nStarted POST \"/dmsf/files/611/revision/create\" for 172.0.0.0 at 2015-10-05 14:44:13 +0000\r\nProcessing by DmsfFilesController#create_revision as HTML\r\n  Parameters: {\"utf8\"=>\"âœ“\", \"authenticity_token\"=>\"vp/7BHf3SQnh3osXhXzrWqsWnr4/HQupUAtw61ec6z4YvDzIXOB3nIO9FLO2g3ylVs08rq3g+h8g==\", \"dmsf_file_revision\"=>{\"title\"=>\"Ð ÐµÐ³Ð»Ð°Ð¼ÐµÐÐ¦Ð\", \"name\"=>\"C:\\\\fakepath\\\\Ð ÐµÐ³Ð»Ð°Ð¼ÐµÐ½Ñ‚ ÑÐºÑÐ¿.doc\", \"description\"=>\"\", \"comment\"=>\"Ð¸Ñ‚\"}, \"version\"=>\"1\", \"custom_version_major\"=>\"2\", \"custom_version_minor\"=>\"2\", \"file_upload\"=>#<ActionDispatch::Http::UploadedFile:0x000000178a7d18 @tempfile=#<Tempfile:C:/Windows/Temp/RackMultipart20151005-4952-1esoae0.doc>, @original_filename=\"Ð ÐµÐ³Ð»Ð°Ð¼ÐµÐ½Ñ‚ ÑÐºÑÐ¿Ð»ÑƒÐ°Ñ‚Ð°Ñ†Ð¸Ð¸ Ð Ð¦Ð.doc\", @content_type=\"application/msword\", @headers=\"Content-Disposition: form-data; name=\\\"file_upload\\\"; filename=\\\"\\xD0\\xA0\\xD0\\xB5\\xD0\\xB3\\xD0\\xBB\\xD0\\xB0\\xD0\\xBC\\xD0\\xB5\\xD0\\xBD\\xD1\\x82 \\xD1\\x8D\\xD0\\xBA\\xD1\\x81\\xD0\\xBF\\.doc\\\"\\r\\nContent-Type: application/msword\\r\\n\">, \"commit\"=>\"Create\", \"id\"=>\"611\"}\r\n  Current user: ka (id=3)\r\nRedirected to http://redmine/dmsf/files/611\r\nCompleted 302 Found in 125ms (ActiveRecord: 15.6ms)\r\n\r\nWhen I upload file from drag-and-drop, everything is OK. \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/danmunn/redmine_dmsf/issues/comments/145505301","html_url":"https://github.com/danmunn/redmine_dmsf/issues/455#issuecomment-145505301","issue_url":"https://api.github.com/repos/danmunn/redmine_dmsf/issues/455","id":145505301,"user":{"login":"picman","id":779003,"avatar_url":"https://avatars.githubusercontent.com/u/779003?v=3","gravatar_id":"","url":"https://api.github.com/users/picman","html_url":"https://github.com/picman","followers_url":"https://api.github.com/users/picman/followers","following_url":"https://api.github.com/users/picman/following{/other_user}","gists_url":"https://api.github.com/users/picman/gists{/gist_id}","starred_url":"https://api.github.com/users/picman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/picman/subscriptions","organizations_url":"https://api.github.com/users/picman/orgs","repos_url":"https://api.github.com/users/picman/repos","events_url":"https://api.github.com/users/picman/events{/privacy}","received_events_url":"https://api.github.com/users/picman/received_events","type":"User","site_admin":false},"created_at":"2015-10-05T11:56:07Z","updated_at":"2015-10-05T11:56:07Z","body":"Duplicates #453 "}}