[PATCH] bug fix for df command error when view conflicts interactively
From: Rock Sun <daijun_at_gmail.com>
Date: Wed, 12 Nov 2008 13:43:19 +0800
When we set locale as zh_CN.GBK and view conflict differences interactively
svn: Valid UTF-8 data
I find the invalid sequence is a date string in Chinese. So I view the
I contribute the patch just to encode the date string as UTF-8 before
Index: libsvn_diff/diff_file.c
SVN_ERR(svn_io_stat(&file_info, path, APR_FINFO_MTIME, pool));
- *header = apr_psprintf(pool, "%s\t%s", path, time_buffer);
+ *header = apr_psprintf(pool, "%s\t%s", path, utf8_timestr);
---------------------------------------------------------------------
|
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.