Re: Git-mediawiki : Encoding problems in perl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2011/6/8 Matthieu Moy <Matthieu.Moy@xxxxxxxxxxxxxxx>:

> open(my $git, "-|:encoding(UTF-8)", "git cat-file -p $sha1");
> my $file_content = <$git>;
> close($git);

Yes, that did it ! Thank you boss :-)
And thanks to both of you Peff & Steffen for your suggestions.

Although, I'm still encountering issues regarding encoding file names
though, I am going to look deeper now that i have this solution.

-- 
Jérémie Nikaes
Élève ingénieur en deuxième année à l'Ensimag
Ingénierie des Systèmes d'Informations
Tel : +33 (0)6 12 99 78 75
Mail : jeremie.nikaes@xxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]