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

Re: svnlook cat seems to swallow byte order marks

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: Tue, 21 May 2013 11:07:00 -0400

On 05/21/2013 10:53 AM, Alexander Veit wrote:
> Hi,
>
> it seems that
>
> svnlook cat
>
> swallows byte order marks (e.g. \xEF\xBB\xBF) from committed files. Therefore it is difficult to check for the presence or absence of BOMs in commit hooks.
>
> Can anyone confirm that this is a bug in Subversion (at least in version: 1.7.7)?

Nope. Works as expected here.

$ svnlook cat data/repositories/i18n-data utf8-chinese-bom.txt > foo
$ hexdump -C foo
00000000 ef bb bf 75 74 66 38 2d 63 68 69 6e 65 73 65 2d |...utf8-chinese-|
00000010 62 6f 6d 2d e5 90 8c e6 84 8f 0a |bom-.......|
0000001b
$

-- 
C. Michael Pilato <cmpilato_at_collab.net>
CollabNet   <>   www.collab.net   <>   Enterprise Cloud Development

Received on 2013-05-21 17:07:37 CEST

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.