From: "brian m. carlson" <sandals@crustytoothpaste•net>
To: "Russell, Scott" <Scott.Russell2@ncr•com>
Cc: "git@vger•kernel.org" <git@vger•kernel.org>
Subject: Re: git clone corrupts file.
Date: Fri, 13 Aug 2021 22:30:03 +0000 [thread overview]
Message-ID: <YRbya0UO2+PvOjL5@camp.crustytoothpaste.net> (raw)
In-Reply-To: <BN6PR15MB14264C9A96F4B5F6B01FA7FACBFA9@BN6PR15MB1426.namprd15.prod.outlook.com>
[-- Attachment #1: Type: text/plain, Size: 1389 bytes --]
On 2021-08-13 at 18:54:43, Russell, Scott wrote:
> File from git.
>
> ⼀⼀ 䴀椀挀爀漀猀漀昀琀 嘀椀猀甀愀氀 䌀⬀⬀ 最攀渀攀爀愀琀攀搀 椀渀挀氀甀搀攀 昀椀氀攀⸀ഀഀ
> // Used by CamTest.rc
> ⼀⼀ഀഀ
> #define IDM_ABOUTBOX 0x0010
> ⌀搀攀昀椀渀攀 䤀䐀䐀开䄀䈀伀唀吀䈀伀堀 ഀഀ
>
> File in github.
>
> //{{NO_DEPENDENCIES}}
> // Microsoft Visual C++ generated include file.
> // Used by CamTest.rc
> //
We're probably going to need a little more information about this. My
guess as to what's happening here is that the editor you're using to
view the file is set to read files as UTF-16, but the repository has
them stored in UTF-8, or (less likely) vice versa.
Can you tell us what editor or other tool you're using to view the file
and what settings it's using for text encoding? Can you tell us about
any working-tree-encoding declarations in your .gitattributes? You can
use "git check-attr -a PATH" to see more information about that.
What code page are you using on your system? Are you using PowerShell,
CMD, or Git Bash? If you're using Git Bash, what are your locale
settings?
--
brian m. carlson (he/him or they/them)
Toronto, Ontario, CA
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 262 bytes --]
next prev parent reply other threads:[~2021-08-13 22:30 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <BN6PR15MB1426E50F03A0530CA9140F98CBFA9@BN6PR15MB1426.namprd15.prod.outlook.com>
[not found] ` <BN6PR15MB14261C40E614CC11416388B4CBFA9@BN6PR15MB1426.namprd15.prod.outlook.com>
2021-08-13 18:54 ` git clone corrupts file Russell, Scott
2021-08-13 22:30 ` brian m. carlson [this message]
2021-08-16 15:24 ` Russell, Scott
2021-08-16 16:53 ` Jeff King
2021-08-16 17:39 ` Russell, Scott
2021-08-16 18:49 ` Jeff King
2021-08-16 18:52 ` Russell, Scott
2021-08-16 18:51 ` Jeff King
2021-08-16 18:53 ` Russell, Scott
2021-08-16 21:50 ` brian m. carlson
2021-08-16 22:04 ` Russell, Scott
2021-08-16 22:19 ` brian m. carlson
2021-08-16 22:26 ` Russell, Scott
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YRbya0UO2+PvOjL5@camp.crustytoothpaste.net \
--to=sandals@crustytoothpaste$(echo .)net \
--cc=Scott.Russell2@ncr$(echo .)com \
--cc=git@vger$(echo .)kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox