www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/06/11/14:52:55

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
References: <17764646 DOT post AT talk DOT nabble DOT com> <484EFB14 DOT 65C9E56F AT dessent DOT net> <17766865 DOT post AT talk DOT nabble DOT com> <20080610233030 DOT GB18434 AT suncomp1 DOT spk DOT agilent DOT com> <17767635 DOT post AT talk DOT nabble DOT com> <20080611011758 DOT GD18434 AT suncomp1 DOT spk DOT agilent DOT com> <17780262 DOT post AT talk DOT nabble DOT com>
Subject: RE: Extra spaces in text files in cygwin
Date: Wed, 11 Jun 2008 19:52:22 +0100
Message-ID: <021201c8cbf4$48583c20$2708a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <17780262.post@talk.nabble.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

gmarsha11 wrote on 11 June 2008 16:14:

> The files are being created by HP Data Protector (backup management
> software).  After I changed the file, I realized that the next time DP
> modifies it, it will change the encoding.  DP can read the file when it is
> ANSI encoded, but will always write in Unicode 

  That's presumably because filenames on an NTFS filing system are allowed
to use unicode.  DP probably has to decide what way to encode the file at
the start, when it creates it, and before it knows if any of the files it
ends up backing up use unicode names.  (Well, either that, or it's just
mindlessly blatting across the wide strings returned from one of the NT API
query file info calls...)

> -- unless I can find out how to change the encoding it uses.

  How about something like "File an enhancement request in HP's internal
bug-reporting system for your colleagues in the software department to take
a look at"?  ;-)

    cheers,
      DaveK

[ This email was bounced first time round with a "spam score too high"
message.  Perhaps it's being fooled by the ratio of quoted to fresh text, so
adding this little paragraph here should help.  If not, well, I also just
mailed the global allow address, so maybe that'll make it work.  Please,
don't let me have to fill it full of lorem ipsum...! ]
-- 
Can't think of a witty .sigline today....


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019