Created
          October 12, 2010 05:54 
        
      - 
      
- 
        Save JEEN/621724 to your computer and use it in GitHub Desktop. 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | diff --git a/lib/Gitalist/Git/Repository.pm b/lib/Gitalist/Git/Repository.pm | |
| index bcb36fa..962466e 100644 | |
| --- a/lib/Gitalist/Git/Repository.pm | |
| +++ b/lib/Gitalist/Git/Repository.pm | |
| @@ -230,7 +230,7 @@ class Gitalist::Git::Repository with Gitalist::Git::HasUtils { | |
| method _build_description { | |
| my $description = ""; | |
| eval { | |
| - $description = $self->path->file('description')->slurp; | |
| + $description = $self->path->file('description')->slurp( iomode => '<:encoding(utf8)' ); | |
| chomp $description; | |
| }; | |
| $description = "Unnamed repository, edit the .git/description file to set a description" | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment