You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Pierre THIERRY <no...@levallois.eu.org> on 2005/10/14 22:03:39 UTC

$Id$ and charset

I just added $Id$ keyword to some of my files in a repo, but yf the
filename contains characters outside US-ASCII, they will be escaped,
thus rendering the name unreadable...

I bet this will require to know the encoding of the file (maybe with
svn:encoding), but having an unescaped filename would be very useful. In
fact, in some languages, it will be needed (any language who doesn't use
unaccentuated roman characters, like anything in cyrillic, greek,
chinese, japanese and so on).

Did I miss anything, or is it a bug?

Quickly,
Nowhere man
-- 
nowhere.man@levallois.eu.org
OpenPGP 0xD9D50D8A

Re: $Id$ and charset

Posted by "Peter N. Lundblad" <pe...@famlundblad.se>.
On Sat, 15 Oct 2005, Pierre THIERRY wrote:

> I just added $Id$ keyword to some of my files in a repo, but yf the
> filename contains characters outside US-ASCII, they will be escaped,
> thus rendering the name unreadable...
>
If you by "escaped" mena URI-encoded (%hh notation), that's fixed for
1.3.0. But that means the name is printed in UTF8 instead, which is good
if the file is in UTF8.  We could expand the name in the encoding of the
user's locale, whihc works if all users use the same encoding for files.
As you say, the real solution is to know the file's encoding, which would
be nice IMO.

Regards,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org