I have file test.py
with content:
print u'\u0410'
and Makefile
:
test:
python test.py
When I write in Vim :!python test.py
I get
А
Press ENTER or type command to continue
But when I write :make test
I get
python test.py
Traceback (most recent call last):
File "test.py", line 1, in <module>
print u'\u0410'
UnicodeEncodeError: 'ascii' codec can't encode character u'\u0410' in position 0: ordinal not in range(128)
make: *** [test] Error 1
Press ENTER or type command to continue
make test
in terminal is ok.
Anyone have any ideas why it is could be so? Could you reproduce? Or is it only something with my setup?