Re: svn commit: r1358022 - in /subversion/trunk: LICENSE NOTICE subversion/include/svn_utf.h subversion/libsvn_subr/utf_width.c subversion/svn/file-merge.c
From: Stefan Sperling <stsp_at_apache.org>
Date: Mon, 9 Jul 2012 15:30:35 +0200
On Mon, Jul 09, 2012 at 02:47:25PM +0200, Bert Huijben wrote:
See the merge_chunks() function.
We convert data to UTF-8 from the native (locale) encoding.
> I assumed that we currently just passed files to the console mostly unmodified to allow the terminal to do the hard work.
That works fine as long as you don't care about the width of the
For the side-by-side display we make an effort to make it look nice.
You mean the svn_utf_cstring_utf8_width() function? It will return
In our usage of this API, the UTF-8 validness check in is performed
Again, this is in-memory data which we're going to display to the user
This is an archived mail posted to the Subversion Dev mailing list.