Monday, January 21, 2013

How to run shell commands containing non-ascii characters from Vim

Hi,

Do you know how to run shell commands containing non-ascii characters
from Vim?

example:

echo system('type myfileété2012.txt')

I know that a simple "r myfileété2012.txt" would include the content
of the file, but I gave the type command as an example, it could be
any shell command.

This command should in windows, show the content of the file called
myfileété2012.txt but because there are accents (é), the file is not
found. Files containing french accents and russian alphabet cannot be
run from vim shell commands.

thank you very much,

Alexandre

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: