ryanphuang / conque

Automatically exported from code.google.com/p/conque
0 stars 0 forks source link

Wrong output when 'encoding' is not utf8 #65

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.OS local is not utf8
2.Vim setting 'encoding' is not utf8
3.Maybe occurs on MS Win only (whose system local is usually not utf8, and the 
'encoding' is often set to be the same as the system local in vim)

What is the expected output? What do you see instead?
My OS is Chinese, so Chinese output is expected, but corrupted charactors are 
seen.

What version of the product are you using? On what operating system?
I'm using version 2.3, and my OS is MS Windows.

The problem may fixed by modifying line 563 in autoload/conque_term.vim and 
change 'setlocal fileencoding=utf-8' to 'setlocal fileencoding=MY_OS_ENCODING'. 
I think it is good to make it an option.

ConqueTerm is very great work, and I love it so much! Thanks!

Original issue reported on code.google.com by brg...@gmail.com on 12 Sep 2011 at 8:54