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

Re: got "Section header expected" error with a UTF-8 authz file contains BOM

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2006-07-05 19:01:29 CEST

On 7/5/06, Michael Zheng (???) <zhengxinxing@gmail.com> wrote:
> Hi all.
>
> I got "Section header expected" when I try to checkout my project from the repository that contains a UTF-8 codec authz file.
>
> The authz file contains the BOM("ef bb bf") and if I got rid of the BOM from my authz file but still kept it as UTF-8, I would checkout my project successfully.
>
> I have the Chinese directory in my project and try to use Chinese username to auth. So I have to keep the authz file as UTF-8 or svn will fail to recognise the Chinese.
>
> Is this a bug?

Well, it would certainly be nice if a BOM didn't throw the config
parser for a loop like that, so yeah, I'd call it a bug, but there is
a good work around, since a BOM on a utf-8 file is unnecessary anyway,
since its endianness is irrelevant.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jul 5 19:03:20 2006

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