Javier Sotomayor!!! On Fri, 2006-12-15 at 21:47 +0100, Javier Lafuente wrote: > So we only need to know where the locale is changed and why... > I think that Glue is used by Subversion, and subversion is used by > apache2 (in my system I use https to access my reps) so the problem > can be in apache2 using the incorrect locale (???) I remember I read > something about that in the past...
You were using Apache ? It seems that Apache is using a different locale yes. If the locale is somehow figured out through environment variables, this should still be a problem without Apache (but with Subversion) because Subversion clears the environment completely when running hooks. And possibly other SCM systems we support in the future may do the same. > open ( SVNLOOK_INFO, "env LANG=es_ES.UTF-8 LANGUAGE=es_ES.UTF-8 > svnlook info " . $svn_tools_argument . "\ > $svn_txn $svn_repository |" ); Do we need to set both LANG and LANGUAGE ? > (only added the env command to the original line) > > and... > > IT WORKS!!!!!!!! Smashing. > It has been hard to hunt but we got it! YOU got it! Thanks SO MUCH. > Now we "only" nedd to know how to make this more generic... > Perhaps can you put a command in yout scripts to get the locale from > some of the config files and set the new environment at the begining > of the script?? Right. > I leave that to you... I don't know very much about what I'm > talking :-) I don't know how this now affects Windows 'chcp'. We might still need a "different" way of doing this under Windows; the way Thorsten described. Ahhhhw... Windows... _______________________________________________ scmbug-users mailing list [email protected] http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users
