Unicode Ordinal

From: Date: Tue, 01 Apr 2003 08:05:01 +0000
Subject: Unicode Ordinal
Groups: php.general 
Request: Send a blank email to php-general+get-141791@lists.php.net to get a copy of this message
Hola. I would love if someone could point out a way to get the Unicode ordinal value of a character in PHP (I could use mb_encode_numericentity() and strip out the non-number characters, but there's gotta be a better way, right?) I'm sure I've missed something in all my searches, but I've given up looking on my own. I have both multi-byte and iconv support enabled, but they don't seem to have what I need. Thanx. For clarity: ord() is not what I need, as it can only recognize ASCII chars. I need to be able to get ordinal data about the whole range of Unicode characters. -Roy

« previous php.general (#141791) next »