Files in DOS encoding (Cyrillic (Windows 866))
Closed
Files in DOS encoding (Cyrillic (Windows 866))
Created by: xbreaker
I'm create a repo and push files in DOS encoding, when I try to view this files in gitlabhq, I get a error 500 from server.
Changed file encoding to UTF-8 and push again - all russian words git considered changing, but now the file views normal, including commit, where I can see the deleted row in DOS encoding and the new lines in UTF-8 encoding.
Any ideas? How learn git system understand DOS encoding?
Created by: xbreaker
Stoped the nginx server and started gitlabhq as rails app. When I try to view file in DOS encoding:
Started GET "/test/3abeffc0dd3bb1c9fd766dc6874492a00683b80c/tree/sk.mac" for 192.168.251.42 at 2012-03-30 10:34:25 +0400 Processing by RefsController#tree as HTML Parameters: {"project_id"=>"test", "id"=>"3abeffc0dd3bb1c9fd766dc6874492a00683b80c", "path"=>"sk.mac"} could not find any magic files! could not find any magic files! could not find any magic files! could not find any magic files! could not find any magic files! could not find any magic files! could not find any magic files! could not find any magic files! Rendered refs/_tree_file.html.haml (80.2ms) Rendered refs/_tree.html.haml (86.1ms) cache: [GET /test/3abeffc0dd3bb1c9fd766dc6874492a00683b80c/tree/static.css] miss
And in browser I get a 500 server error.
Request URL:http://:3000/test/3abeffc0dd3bb1c9fd766dc6874492a00683b80c/tree/sk.mac Request Method:GET Status Code:500 Internal Server Error
By Administrator on 2012-03-30T06:38:42 (imported from GitLab project)
Created by: dubcanada
This is a charlock_holmes issue, you may want to look at https://github.com/brianmario/charlock_holmes/blob/master/README.md (under the Installation area) and try those commands. It might fix your issue.
By Administrator on 2012-03-31T02:43:48 (imported from GitLab project)