Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:63762 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 29255 invoked from network); 6 Nov 2012 16:26:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Nov 2012 16:26:52 -0000 Authentication-Results: pb1.pair.com smtp.mail=php@golemon.com; spf=softfail; sender-id=softfail Authentication-Results: pb1.pair.com header.from=php@golemon.com; sender-id=softfail Received-SPF: softfail (pb1.pair.com: domain golemon.com does not designate 209.85.223.170 as permitted sender) X-PHP-List-Original-Sender: php@golemon.com X-Host-Fingerprint: 209.85.223.170 mail-ie0-f170.google.com Received: from [209.85.223.170] ([209.85.223.170:53818] helo=mail-ie0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 70/A0-25645-A4A39905 for ; Tue, 06 Nov 2012 11:26:51 -0500 Received: by mail-ie0-f170.google.com with SMTP id c12so970369ieb.29 for ; Tue, 06 Nov 2012 08:26:47 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:x-originating-ip:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :x-gm-message-state; bh=DJIo/0wteZS7nB4V1ijJFl3JG44s53CTtkqCMgTqIcQ=; b=N5V0kETCKzex3C+10sAZSpaKp4c7a9SZz0bLfumpzfFWOiXBg8OHsSxWJ4nBzbFKgQ bHmCvjI9B8HNJ6QyZZzBKijptlN8pM3NbB2QmmQUeeZ5RKX6ujYJKjIzP9l9yPIQwORk T+EcznmxBwh4oov87i/FAo67r90u0JderP4dlbKkzwAyXq1XV3v6Wg33t0EmpKhnEIPB /qh9KWTXKGdQFFLb+VPj7L2Tl8ekYoAJc+Tt3gIFhSsySwCtLUj3hwyBzqS8BpwIJk5z LYWpFE/AhijVjcxaelMY5IDx66oQd5cZmNJ5nIGfaQo7tSP/PR2d2nAKd5hXH7kijRlA 6cCA== MIME-Version: 1.0 Received: by 10.50.152.194 with SMTP id va2mr1610962igb.25.1352219207709; Tue, 06 Nov 2012 08:26:47 -0800 (PST) Sender: php@golemon.com Received: by 10.64.21.193 with HTTP; Tue, 6 Nov 2012 08:26:47 -0800 (PST) X-Originating-IP: [98.210.180.187] In-Reply-To: <5098CEFA.2080902@lsces.co.uk> References: <509006DA.6030200@sugarcrm.com> <5098CEFA.2080902@lsces.co.uk> Date: Tue, 6 Nov 2012 08:26:47 -0800 X-Google-Sender-Auth: M2VeLl5li_SbNpTQkGzfQeOHILc Message-ID: To: Lester Caine Cc: PHP internals Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQkdA+QuRVhUb560M0ppCPf+2sKViOIn5eOyjTKwPX03uE3x0YsSLEd9dvXAJ5rPqmtrg+kZ Subject: Re: [PHP-DEV] [VOTE] [RFC] ICU UConverter implementation for ext/intl From: pollita@php.net (Sara Golemon) As far as what's returned by convert() in the case of codepoint errors, I thought that was explained in the usage sections, but I'll put some content into the error handling section as well (and link to the existing intl functions related to error surfacing, As to determining how many invalid codepoints were encountered, no. There's not an API to surface that at ICU's level. I could add a counter to the callback and always enable it, even when not subclassing, but that's adding complexity where it in all likelihood won't be used for something which can be done in userspace, so I'm inclined against it. -Sara On Tue, Nov 6, 2012 at 12:48 AM, Lester Caine wrote: > Sara Golemon wrote: >> >> There doesn't seem to be any further discussion. I figured if someone >> has more objections during the week this stays open for voting they >> can be addressed, and if need be the voting can be reset and resumed. > > > This may already be covered elsewhere, but is there a return from the class > that indicates easily the number of codepoint errors? > It would be helpful if the likes of the error handling single line linked > through to the relevant material? I've got back to the intl documentation, > but it's not clear there what is returned if a codepoint error is detected. > > -- > Lester Caine - G8HFL > ----------------------------- > Contact - http://lsces.co.uk/wiki/?page=contact > L.S.Caine Electronic Services - http://lsces.co.uk > EnquirySolve - http://enquirysolve.com/ > Model Engineers Digital Workshop - http://medw.co.uk > Rainbow Digital Media - http://rainbowdigitalmedia.co.uk > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >