[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [RFC] Unicode character encoding for other-than-filenames?

From: Branko Čibej <brane_at_xbc.nu>
Date: Thu, 03 Apr 2008 00:54:38 +0200

Erik Huelsmann wrote:
> Working on the NFC/NFD awareness of the Subversion client, I soon
> realised this issue also affects URLs.
>
> However, many of the textual identifiers we use in the client (such as
> changelists) are also UTF-8 encoded. How should Subversion behave if a
> user sets a changelist with NFC encoded characters and later (somehow)
> tries to retrieve that same changelist using NFD encoded characters?
> Giving an error message with the changelist name will look strange to
> the user: the changelist identifier looks exactly the same to the
> user.
>
> So, do we have to do Unicode-aware string comparison for
> other-than-filename-identifiers? If so, which ones?
>

We only have to normalize keys in the repository, which means filenames.
Everything else is either not indexed, or stored only locally in the WC.
If it's local, and the user or OS magically changes the normalization
during the lifetime of the WC ...

-- Brane

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-04-03 00:55:17 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.