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

Re: Keyword expansion on Unicode text files

From: Rob van Oostrum <rvanoo_at_gmail.com>
Date: Fri, 15 Jan 2010 21:33:26 -0500

2010/1/15 Ulrich Eckhardt <eckhardt_at_satorlaser.com>

> On Thursday 14 January 2010, Ryan Schmidt wrote:
> > On Jan 14, 2010, at 13:15, Harald-René Flasch wrote:
> > > what should I do in order to make keyword expansion on Unicode text
> files
> > > working (e.g. .inf files)?
> > >
> > > - BOM is FF FE (used Notepad Save As --> Unicode to create the file)
> > > - There is only the svn:keywords property on the file
> >
> > Sorry, AFAIK there still isn't a way to make svn:keywords work in UTF-16
> > files.
>
> That said, you might be able to store them as UTF-8, which is another full
> Unicode-capable format and even more common than the used UTF-16. Using
> UTF-8, keywork expansion simply works.
>
> Uli
>

AFAIK, the root of the issue is SVN treating UTF-16 files as binary. Once
that's resolved, keyword expansion will work automagically. I have no idea
how complicated this would be to resolve, but my guess is that it's
non-trivial or it would have never been an issue in the first place.

R.
Received on 2010-01-16 03:34:01 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.