[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Temporary implementation of 'blame of UTF-16 file'

From: ±è¼ºÈÆ2 [duinggul] <duinggul_at_nexon.co.kr>
Date: Sun, 29 Jul 2012 23:44:18 +0000

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. :)

Thanks.

Received on 2012-07-30 07:38:49 CEST

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.