Keyword expansion on Unicode text files
Hi, 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 Regards, hfrmobile _ Das neue Windows 7: Finden Sie den richtigen PC. Erfahren Sie mehr darüber. http://windows.microsoft.com/shop
Re: Keyword expansion on Unicode text files
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. See: http://svn.haxx.se/users/archive-2005-11/0538.shtml Possibly related tickets: http://subversion.tigris.org/issues/show_bug.cgi?id=2194 http://subversion.tigris.org/issues/show_bug.cgi?id=2332
Re: Keyword expansion on Unicode text files
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 -- ML: http://subversion.tigris.org/mailing-list-guidelines.html FAQ: http://subversion.tigris.org/faq.html Docs: http://svnbook.red-bean.com/ Sator Laser GmbH, Fangdieckstraße 75a, 22547 Hamburg, Deutschland Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932 ** Sator Laser GmbH, Fangdieckstraße 75a, 22547 Hamburg, Deutschland Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932 ** Visit our website at <http://www.satorlaser.de/> ** Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den Adressaten bestimmt und kann vertrauliche Informationen enthalten. Bitte benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empfänger sein sollten. Die E-Mail ist in diesem Fall zu löschen und darf weder gelesen, weitergeleitet, veröffentlicht oder anderweitig benutzt werden. E-Mails können durch Dritte gelesen werden und Viren sowie nichtautorisierte Änderungen enthalten. Sator Laser GmbH ist für diese Folgen nicht verantwortlich. **
RE: Keyword expansion on Unicode text files
Thank you for your response! It shouldn't be a unresolvable programming issue to support keyword expansion for Unicode text files? --hfrmobile > Subject: Re: Keyword expansion on Unicode text files > From: subversion-20...@ryandesign.com > Date: Thu, 14 Jan 2010 16:02:32 -0600 > CC: users@subversion.apache.org > To: harald-rene.fla...@hotmail.com > > > 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. See: > > http://svn.haxx.se/users/archive-2005-11/0538.shtml > > Possibly related tickets: > > http://subversion.tigris.org/issues/show_bug.cgi?id=2194 > > http://subversion.tigris.org/issues/show_bug.cgi?id=2332 > > > _ Das neue Windows 7: Vereinfachen Sie Ihre täglichen Aufgaben. Finden Sie den richtigen PC. http://windows.microsoft.com/shop
Re: Keyword expansion on Unicode text files
2010/1/15 Ulrich Eckhardt > 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.
Re: Keyword expansion on Unicode text files
On Jan 15, 2010, at 03:07, Harald-René Flasch wrote: > It shouldn't be a unresolvable programming issue to support keyword expansion > for Unicode text files? I agree, it shouldn't be unresolvable. But at present it is unresolved.