go ahead... be a heretic | |
PerlMonks |
Re^2: How to convert a string like this: "\321\201\321\202\321\200\321\203\320\272\321\202\321\203\321\200\320\260" to a proper utf8?by igoryonya (Pilgrim) |
on Apr 28, 2016 at 11:41 UTC ( [id://1161757]=note: print w/replies, xml ) | Need Help?? |
The output comes from 'git status' command. I have some filenames in Russian in my project folder. The surprising thing is that git shows all other Russian text correctly, only file names appear encoded. I've already seek for answers on git's irc chanel. Nobody could help me there. Searched on the internet, but the closest thing that I've found about this issue, is a 2 year old similar to mine question, unresolved. So, I thought, that, since the git's community can't help me, I will just write an output reformatter. Something, like this: After seeing, that it works, I've moved perl oneliner to a file, so, now I do:
In Section
Seekers of Perl Wisdom
|
|