Re: return language of a word

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Maciek Sokolewicz wrote:
shahrzad khorrami wrote:
Thanks for reply

U+103A0 ... U+103DF

How can I use of it?

Something along the lines of:
http://www.php.net/manual/en/function.ord.php
should return the ordinal, which can then be compared to that.

note: *but not ord()* [ord is only for ascii not utf-8; but still check the page there are some decent UTF8/unicode user submitted versions in the comments.

If you really want to do more with unicode and low-level twiddling (like you appear to want to), PLEASE read up on WHAT character-sets are, what encodings _are_, how they work, and how unicode and utf-8 work. Once you know all that, you can figure it out by yourself relatively easily.

- Tul

yup googling and rtfm'ing virtually always answers these questions :)

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux