Re: note 88482 added to function.utf8-encode
| From: | Thiago H. Pojda | Date: | Mon, 26 Jan 2009 18:10:21 +0000 |
| Subject: | Re: note 88482 added to function.utf8-encode | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-149793@lists.php.net to get a copy of this message | ||
That bitseeker's note he's referring uses preg_match and the note from
hmdker uses pure php.
I think it'd be nice to keep both, but what do you say about adding a
editor's note saying that the preg_match may throw segfaults as reported by
this user?
I'd do that, I just want to know if it's okay by you guys.
Thanks,
Thiago Henrique Pojda
http://nerdnaweb.blogspot DOT com
On Mon, Jan 26, 2009 at 2:25 PM, <hirisov@osu1.php.net> wrote:
> bitseeker's is_utf8() caused my debian etch to segfault (more precisely the
> problem was with libpcre when using that function). I think it might be
> related to: http://bugs.php.net/bug.php?id=41749 . It took me
> some time to
> debug it, so i suggest use the other example, from hmdker at gmail dot com
> right for an is_utf8() function.
> ----
> Server IP: 62.112.195.86
> Probable Submitter: 213.163.40.33
> ----
> Manual Page -- http://www.php.net/manual/en/function.utf8-encode.php[Ýk)�\
> ²´µ³pHÆ
> Edit -- https://master.php.net/note/edit/88482
> Del: integrated --
> https://master.php.net/note/delete/88482/integrated
> Del: useless --
> https://master.php.net/note/delete/88482/useless
> Del: bad code --
> https://master.php.net/note/delete/88482/bad+code
> Del: spam --
> https://master.php.net/note/delete/88482/spam
> Del: non-english --
> https://master.php.net/note/delete/88482/non-english
> Del: in docs --
> https://master.php.net/note/delete/88482/in+docs
> Del: other reasons-- https://master.php.net/note/delete/88482
> Reject -- https://master.php.net/note/reject/88482
> Search -- https://master.php.net/manage/user-notes.php
>
>
> --
> PHP Notes Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>