iconv, vim 7

iconv rocks. so often do i find this command really useful: _ iconv -f original_encoding -t utf8 file > utf8_file_

i’ve been using vim 7 beta for a while (which, by the way, was just released as vim 7 a day or so ago), but i never really realized how easy they’ve made it to look at arabic text files now (compared to what it used to be… there used to be an intricate setup process and a set of patches to run for vim 6x as documented by nadim on arabeyes. now, all you have to do is :set encoding=utf8 and :set arabic and you’re set.

you can see a screenshot here.

comments powered by Disqus