Skip to contentSkip to conversation

Strange characters

DISCUSSION bryceadamprescott 2 participants 2 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

I've used subversion before but I've only used git a handful of times. At my new job I am using git and me and my boss (who is also new to git) is having a problem with UTF-8 characters. It seems that git is replacing some characters here and there with strange UTF-8 characters that display as a question mark in a diamond. Strangely enough the code still compiles with thousands of warnings about the UTF-8 characters. Any help would be appreciated.

--
View this message in context: http://git.661346.n2.nabble.com/Strange-characters-tp6559596p6559596.html
Sent from the git mailing list archive at Nabble.com.

#1 lore raw
Quoted 7 lines · bryceadamprescott

I've used subversion before but I've only used git a handful of times. At my new job I am using git and me and my boss (who is also new to git) is having a problem with UTF-8 characters. It seems that git is replacing some characters here and there with strange UTF-8 characters that display as a question mark in a diamond. Strangely enough the code still compiles with thousands of warnings about the UTF-8 characters. Any help would be appreciated.

Git shouldn't modify the contents of the files at all (except for line-end if you ask it to). Could you provide a reproducible example of what's happening?

Cheers,
cmn