git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Strange characters

From
Carlos Martín Nieto <cmn@elego.de>
Date
Jul 11, 2011, 08:51 UTC
Message-ID
<20110711085111.GA6594@bee.lab.cmartin.tk>
In-Reply-To
<1310066131287-6559596.post@n2.nabble.com>
On Thu, Jul 07, 2011 at 12:15:31PM -0700, bryceadamprescott wrote:
Show 7 quoted lines
> 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
Previous: bryceadamprescott
Message 2 of 2 in “Strange characters”
  1. bryceadamprescottJul 7, 2011
  2. Carlos Martín NietoJul 11, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.