On Dec 6, 2007 11:14 PM, Raman Gupta <[EMAIL PROTECTED]> wrote: > Basically, what we need to be sure about is which encoding svn commit > defaults to when it reads log message files, and which python method > returns that same encoding on every platform.
As far as I can tell from the sources SVN uses GetThreadLocale <http://msdn2.microsoft.com/en-us/library/ms776331.aspx> to get the file encoding and GetConsoleOutputCP <http://msdn2.microsoft.com/en-us/library/ms683169.aspx> to get the console encoding. For me they return CP1252 and CP850, respectively, which is not exactly what Python returns: Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import sys >>> print sys.getfilesystemencoding() mbcs >>> print sys.stdout.encoding cp850 >>> Romulo _______________________________________________ Svnmerge mailing list [email protected] http://www.orcaware.com/mailman/listinfo/svnmerge
