This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

scp and cygwin randomly and automatically converts text files from utf-8 to windows encoding (cp1251)


It happens when files are copied from cygwin windows machines to any linux
(tried different versions of ubuntu and gentoo with utf-8 locale).
As it is not possible to understand in what cases are re-encoding, sometimes
enough to add one blank line in a text file that, when the transfer encoding
has not happened. Just changing the format of a newline (in the source files
are unix-style \n, but on the linux machine has come to win-style \r\n)

Sorry for my english - google translate.
-- 
View this message in context: http://old.nabble.com/scp-and-cygwin-randomly-and-automatically-converts-text-files-from-utf-8-to-windows-encoding-%28cp1251%29-tp29586716p29586716.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]