Ryan Schmidt wrote on Sat, 20 Sep 2008 at 14:42 -0500:
> On Sep 20, 2008, at 2:04 PM, Daniel Shahaf wrote:
>
> > steveking wrote on Sat, 20 Sep 2008 at 20:48 +0200:
> > > Karl Fogel wrote:
> > > > "baz themail" <bazthemail_at_gmail.com> writes:
> > > > > When adding a new dos text file with extension ".txt", svn thinks that
> > > > > it is a
> > > > > binary. Is there anyway to configure that? Is it mime-type related?
> > > >
> > > > 'svn propset svn:mime-type text/plain yourfile.txt'
> > >
> > > Be careful with that. A text file can be encoded in utf-16 (unicode),
> > > and Subversion can't handle that as text.
> > ^^^^^^^^^^^^^^^^^^^^^^^^^
> >
> > A quick test shows that 'svn diff' doesn't blow up on a UTF-16 file, so
> > I'm not sure what you mean by "can't handle as text". Could you give an
> > example?
>
> There has been an issue open for some time:
>
> http://subversion.tigris.org/issues/show_bug.cgi?id=2194
>
Found plenty of examples in the thread there. Thanks for the pointer.
Daniel
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-09-20 22:18:29 CEST