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

Re: svn commit: r1381766 - /subversion/trunk/subversion/libsvn_subr/utf_validate.c

From: Branko Čibej <brane_at_wandisco.com>
Date: Fri, 07 Sep 2012 18:18:14 +0200

On 06.09.2012 23:30, stefan2_at_apache.org wrote:
> Author: stefan2
> Date: Thu Sep 6 21:30:40 2012
> New Revision: 1381766
>
> URL: http://svn.apache.org/viewvc?rev=1381766&view=rev
> Log:
> Many strings we need to convert to UTF-8 (paths, even log messages)
> contain large ASCII chars only sections. Add utility functions
> to very efficiently skip those sections at the begin of the strings.

Um. You are aware, of course, that by doing this without any knowledge
of the string encoding, you could easily be skipping encoded code
points. In other words, the concept is wrong.

-- Brane

-- 
Certified & Supported Apache Subversion Downloads:
http://www.wandisco.com/subversion/download
Received on 2012-09-07 18:18:53 CEST

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.