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

Re: Encofing problem with keyword substitution and date keyword pattern

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Wed, 31 Dec 2014 08:24:23 +0100

On 31.12.2014 07:35, Marc MENDEZ wrote:
> Hi,
>
> I use the $Date:$ keyword in my source file, which gives us this after
> substitution :
>
> // $Date: 2014-07-07 10:10:05 +0200 (lun. 07 juil. 2014) $
>
> We discovered a problem with date whose month contains accent...
> Our files are encoded in ISO or ANSI (not sure). The source code may
> contain accent (no problem !);
> But when the date added by SVN contains an accent, the file encoding
> change to UTF-8...
>
> The first solution we found is to replace the date key word by :
>
> // $Date:: #$
>
> so the date is truncated. But it urges us to change all the file headers !!
>
> My question is :
> - are you aware of this problem of encoding ?
> - is there a way to change the date pattern used is the date keyword ?

See here:
http://subversion.tigris.org/issues/show_bug.cgi?id=2332

Stefan

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest interface to (Sub)version control
   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3093606
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2014-12-31 08:24:21 CET

This is an archived mail posted to the TortoiseSVN Users mailing list.

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