Re: [RFC PATCH] Windows: Assume all file names to be UTF-8 encoded.
- From
Peter Krefting <peter@softwolves.pp.se>
- Date
- Mar 3, 2009, 05:51 UTC
- Message-ID
- <alpine.DEB.2.00.0903030649231.2012@perkele.intern.softwolves.pp.se>
- In-Reply-To
- <200903022221.10254.robin.rosenberg.lists@dewire.com>
Robin Rosenberg:
> Not sure what that is.
"Invariant" is defined in an old RFC as the common subset of several ASCII-like and ASCII-based encodings. This was back before the MIME days, IIANM.
> I mean that in a local nordic, setting people can use > iso-8859-1|15/windows-1252/UTF-8 for their needs be means of converting > the characters as-needed without loss, with very few practial > restrictions.
Indeed. The trick is to have the storage (in this case, Git and it's tree objects) storing the file name data in a commonly agreed-upon way. Then it is simple to convert at the end-points.
> Just because I use UTF-8 doesn't mean I use start using more characters in > practice.
Most people do not, no. But using a Unicode encoding means that they at least have the option. Sometimes, having to mangle stuff down to ASCII is a pain.
-- \\// Peter - http://www.softwolves.pp.se/