Norbert Unterberg wrote:
> SteveKing schrieb:
>
>> Do you suggest TSVN keeps a list of file formats and parses each of
>> those individually with its own parser for the correct encoding (like
>> the xml utf tag)?
>
>
> Sorry, I did not mean to annoy you... I thought the discussion was about
> XML files and not about TSVN's general handling of version controlled
> files.
I'm not annoyed. Sorry, didn't mean to to sound mean.
Yes, the discussion was about our xml files for the docs. But since
those files are in our repo and at least three people working on them
there's a chance that conflicts occur. And that's where TortoiseMerge
comes into play, which will show garbage chars if the BOMs are missing.
>> - since TSVN has to deal with _all_ text-like files/streams, there's
>> just _no_ way to know the encoding of the data.
>
> Can't the svn:mime-type property take care of that, i.e. setting that
> property to text/xml; charset="utf-8"? Or wasn't the mime-type property
> allowed to contain content type information?
>
> Ok ok, I shut up now.
No need to shut up ;)
The mime-type could be used, yes. But most people don't set the
mime-type property for files, since it's only used when you browse the
repository with your webbrowser. And TortoiseMerge is currently only
linked to the libsvn_diff library, not the whole subversion library. And
that would be needed to read the mime-type property --> another 300kb
(at least) just for that? Well, I'll think about that...
Stefan
--
___
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Fri Nov 19 22:39:49 2004