Oh thanks. It is really works with mb_international_encoding('utf-8')

;-)

On 09.12.25 17:26, scs wrote:
Hi,
You can use mb_substr() function for multi-byte strings.

scs

On Fri, Dec 25, 2009 at 11:23 AM, Enkhbilguun Erdenetsogt
<enkhbilg...@beregu.com>  wrote:
Hello,

I trying to get the first character of a non-latin string. Both $string{0}
and substr($string, 0, 1) returning unknown non-alphabetic character.

Help me friends :-)




Sincerely,
Enkhbilguun Erdenetsogt


<<attachment: enkhbilguun.vcf>>

Reply via email to