Re: Git-mediawiki : Encoding problems in perl
- From
- Jérémie NIKAES <jeremie.nikaes@gmail.com>
- Date
- Jun 8, 2011, 15:46 UTC
- Message-ID
- <BANLkTi=DLZQM_jzove_g0wLy_zgBF6Z0Xw@mail.gmail.com>
- In-Reply-To
- <vpqhb8049m3.fsf@bauges.imag.fr>
2011/6/8 Matthieu Moy <Matthieu.Moy@grenoble-inp.fr>:
> 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@gmail.com