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

Re: JavaHL blame callback and encoding

From: Matt Quail <matt_at_cenqua.com>
Date: 2005-09-07 05:04:56 CEST

> Probably the interface should actually pass a byte[] for the line
> content and let the client apply the encoding it wishes to use.

Since changing the signature of singleLine() will break existing
code, it might be a good idea to create a BlameCallback2 interface
which accepts byte[] (plus add an overloaded blame() method). In this
way, users can explicitly decide if they want utf8-decoded strings or
byte[].

=Matt

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Sep 7 05:05:42 2005

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.