Lines Matching refs:encoding
499 " Test for writing a file using invalid file encoding
510 let save_encoding = &encoding
512 set encoding=latin1 fileencodings&
522 " combine three values for 'encoding' with three values for 'fileencoding'
525 set encoding=utf-8
538 set encoding=cp1251
551 set encoding=cp866
563 " read three 'fileencoding's with utf-8 'encoding'
564 set encoding=utf-8 fencs=utf-8,cp1251
579 " read three 'fileencoding's with cp1251 'encoding'
580 set encoding=utf-8 fencs=utf-8,cp1251
595 " read three 'fileencoding's with cp866 'encoding'
596 set encoding=cp866 fencs=utf-8,cp1251
616 let &encoding = save_encoding
879 " Test for writing a file with 'encoding' set to 'utf-16'