Unicode escape sequences in PHP?
| From: | frank farmer | Date: | Thu, 24 Apr 2008 18:12:53 +0000 |
| Subject: | Unicode escape sequences in PHP? | ||
| Groups: | php.i18n | ||
| Request: | Send a blank email to php-i18n+get-1163@lists.php.net to get a copy of this message | ||
Hi all, I have a question regarding unicode character escape sequences:
I need to match char 0x2022 (bullet).
PHP's \x does not support multibyte chars.
PCRE (e.g. preg_match) supports \u2022, but only on platforms where the PCRE lib has been compiled with a certain flag.
Is there an escape sequence I can use with mb_ereg that will match this character?
Thanks,
Frank