i18n + svn:keywords substitution may break future python scripts
From: Grzegorz Adam Hankiewicz <gradha_at_titanium.sabren.com>
Date: 2005-06-18 01:09:40 CEST
Hi.
I have a python script which includes this line:
__date__ = "$Date$"
This file has a svn:mime-type "text/plain; charset=US-ASCII",
__date__ = "$Date: 2005-06-18 00:26:43 +0200 (sáb, 18 jun 2005) $"
Between brackets, utf8 sáb is in latin1 sáb, shortcut for sábado,
sys:1: DeprecationWarning: Non-ASCII character '\xc3' in file
Shouldn't svn downgrade $Date$ to an US-ASCII version of sáb like
Since the server web interface shows the same file with an English
Is there any way to get the date replaced always in rfc-2822 format?
The script can be found at:
http://svn.berlios.de/wsvn/ftr/trunk/frequent-task-reminder.py?op=file&rev=0&sc=0
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.