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

Re: [PATCH] Issus 2332, "$Date$" Keywords always expand with their UTF-8 content

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2005-12-13 20:58:39 CET

On Tue, 13 Dec 2005, Hanjy wrote:

> I think perhaps add a global config item such as keyword-encoding, or
> an environment variables such as LC_MESSAGES for default encoding.
>
A global config option wouldn't be a good idea, since different files
might have different encodings. Using the locale encoding is natural as a
solution when there is no information about the encoding, because that's
what other tools often use (this is using LC_CTYPE, not LC_MESSAGES as you
suggest above). This is what svn_utf_cstring_from_Utf8() and the related
functions do. I did something similar to this for diff in r14557. I
suggest adding encoding support to the keyword translation functions.

Thanks,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Dec 13 21:57:57 2005

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.