www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=0.8 required=5.0 tests=BAYES_20,FREEMAIL_FROM,SARE_FREE_WEBM_RuMail,SARE_SUB_ENC_UTF8,SPF_HELO_PASS,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <29586716.post@talk.nabble.com> |
Date: | Tue, 31 Aug 2010 12:23:11 -0700 (PDT) |
From: | rPman <rPman AT mail DOT ru> |
To: | cygwin AT cygwin DOT com |
Subject: | scp and cygwin randomly and automatically converts text files from utf-8 to windows encoding (cp1251) |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |