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

issue report - problem with command line argument parsing using tr_TR locale

From: Ozgur Murat Homurlu <ozgurmurat_at_gmx.net>
Date: 2004-02-16 23:11:17 CET


Trying a to use "COMMITTED" revision using tr_TR locale (normally
LC_CTYPE is an exported environment variable, it's explicitly set here
to better demonstrate the issue):

$ LC_CTYPE=tr_TR svn log -r COMMITTED
svn: Syntax error in revision argument 'COMMITTED'

(works normally)

$ LC_CTYPE=tr_TR svn log -r COMMiTTED
(works normally)

$ LC_CTYPE=tr_TR svn log -r committed
(works normally)

Some insight (possibly related with the issue):
There's a well known cause of problems related to tr_TR locale: lower
case of the character 'I' is 'ý' with tr_TR locale (not the
English-usual 'i'). So if you use C library's "tolower" type function
with tr_TR locale you shouldn't expect i.e. 'COMMITTED' converted to
'committed'. Correct programming style is setting the correct locale (
for the word ) before using case conversions.

Please CC me for the answers and questions, I'm not subscribed to the
Thank you,


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Feb 17 01:19:11 2004

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.