git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Rast <trast@student.ethz.ch>
To: Thomas Singer <thomas.singer@syntevo.com>
Cc: <git@vger.kernel.org>
Subject: Re: OS X and umlauts in file names
Date: Mon, 23 Nov 2009 18:45:00 +0100	[thread overview]
Message-ID: <200911231845.04325.trast@student.ethz.ch> (raw)
In-Reply-To: <4B0ABA42.1060103@syntevo.com>

Thomas Singer wrote:
> I'm on an English OS X 10.6.2 and I created a sample file with umlauts in
> its name (Überlänge.txt). When I try to stage the file in the terminal, I
> can't complete the file name by typing the Ü and hitting the tab key, but I
> can complete it by typing an U and hitting the tab key. Unfortunately, after
> executing
> 
>  git stage Überlänge.txt

This is because of OS X's unicode normalisation.  Try any of the
many threads on the topic, e.g.,

  http://thread.gmane.org/gmane.comp.version-control.git/70688

The short version is that this Ü is in fact decomposed into an
U-umlaut duo.

Considering that this leads to endless fun[*] not just with git, and
that we German speakers have an easy way out (Ueberlaenge), I can only
suggest that you avoid umlauts wherever possible to preserve
the sanity of your users.


[*] I once had an SVN repo with two different directories both called
Übungen.  Took me a while to figure out what was going on.

-- 
Thomas Rast
trast@{inf,student}.ethz.ch

  reply	other threads:[~2009-11-23 17:46 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-23 16:37 OS X and umlauts in file names Thomas Singer
2009-11-23 17:45 ` Thomas Rast [this message]
2009-11-23 18:10   ` Thomas Singer
2009-11-23 18:23     ` Johannes Schindelin
2009-11-23 20:31       ` Thomas Singer
2009-11-23 23:31       ` Jakub Narebski
2009-11-23 18:29     ` Martin Langhoff
2009-11-23 20:26 ` Daniel Barkalow
2009-11-25  8:50   ` Thomas Singer
2009-11-25  9:51     ` B Smith-Mannschott
2009-11-25 10:07     ` Martin Langhoff
2009-11-25 10:19       ` Martin Langhoff
2009-11-25 22:43     ` Andreas Schwab
2009-11-26  8:28       ` Thomas Singer
2009-11-26 17:27     ` Jay Soffian
2009-11-27 10:01       ` Thomas Singer
2009-11-27 10:20         ` Thomas Singer
2009-11-27 10:56           ` Martin Langhoff
2009-11-27 18:35             ` Thomas Singer
2009-11-26 17:23 ` Jay Soffian

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=200911231845.04325.trast@student.ethz.ch \
    --to=trast@student.ethz.ch \
    --cc=git@vger.kernel.org \
    --cc=thomas.singer@syntevo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
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;
as well as URLs for NNTP newsgroup(s).