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

Re: request to clarify and improve Subversion property name specification

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Mon, 23 Jan 2012 18:38:29 +0000

Garret Wilson <garret_at_globalmentor.com> writes:

> On 1/23/2012 9:55 AM, Philip Martin wrote:
>> I thought you were proposing to write the code?
>
> I'm fine with that as well. Looks like I would have to add a few lines
> to decote UTF-8 (surely such code already exists in the Subversion
> codebase somewhere) and change a few if(...){} statements. I should be
> able to handle that. I would imagine it will take more effort on my
> part to get permission to change the code than actually writing the
> code itself.

The function receives a string of bytes, I think it's already in UTF-8.
The problem is that while Subversion has functions to validate UTF-8 it
doesn't have a system for extracting individual UTF-8 code points. At
present it only ever needs to extract the ASCII subset which is trivial.

-- 
uberSVN: Apache Subversion Made Easy
http://www.uberSVN.com
Received on 2012-01-23 19:39:07 CET

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