Temporary implementation of 'blame of UTF-16 file'
Hi, I¡¯m using Subversion everyday. :-)
Recently, I converted native text files ( in my company¡¯s project repository ) to UTF-16 files.
The problem was that Subversion library does not support ¡®blame of UTF-16 file¡¯ currently.
So I checked out Subversion¡¯s source code
And modified ¡®libsvn_client\blame.c¡¯ file to support ¡®blame of UTF-16 file¡¯.
Brief idea of implementation is :
Export current file ( in svn temp directory ) to UTF-8 file if current file¡¯s format is UTF-16,
shortly before processing blame for current file.
It¡¯s a temporary implementation rather than formal implementation,
But I think the implementation can be used temporarily before formal implementation of ¡®blame of UTF-16 file¡¯ is made. :-)
So I attach ¡®blame.c¡¯ file for reference. :)
Received on 2012-07-30 07:38:49 CEST
This is an archived mail posted to the Subversion Dev