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

Re: Corrupt log message in repository

From: Tobias Ringstrom <tobias_at_ringstrom.mine.nu>
Date: 2004-03-01 20:21:52 CET

terry@eatoni.com wrote:
> | In the case of log messages (and other text properties), the server
> | can easily check if the byte sequence is valid UTF-8.
>
> I wrote some code to do this that I can probably donate / integrate if
> a decision is made to actually do this checking. It does a reasonable
> job, checking for illegal surrogates and as well as codepoints encoded
> with more bytes than necessary, along with basic UTF-8 checking. It's
> all very simple, so it runs fast.

Thanks, but we already have UTF-8 verification code. It's just a
question of using it and adding a line feed check.

/Tobias

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Mar 1 20:21:07 2004

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

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