Hello,

I'm a new user in this forum.
At first I would like to apologize for my bad English.

And now for my problem, that it's solution I couldn't find anywhere so you're kind of my last hope.

I'm writing a system with PHP which encodes with UTF-8 encoding. Everything is encoded with UTF-8 encoding.

In order to work with UTF-8 encoded strings, I need to use special functions - mbString function (stands for Multi Byte String), that specially compatible for UTF-8 encoding and others.

The problem is that there aren't enough mbString functions so that I will be able to work well with UTF-8 encoded strings. Many important mbString functions are missing.

I wrote a list of regular functions and I need to know if they can work well & suitable for UTF-8 encoded strings.

Here is the list (links to the functions are included):

mysql_real_escape_string() - http://il2.php.net/manual/en/functio...ape-string.php
stripslashes() - http://il2.php.net/manual/en/function.stripslashes.php
addslashes() - http://il2.php.net/manual/en/function.addslashes.php
strstr() - http://il2.php.net/manual/en/function.strstr.php
trim() - http://il2.php.net/manual/en/function.trim.php
wordwrap() - http://il2.php.net/manual/en/function.wordwrap.php
vsprintf() - http://il2.php.net/manual/en/function.vsprintf.php
nl2br() - http://il.php.net/manual/en/function.nl2br.php

The list above contains only part of the functions that I need to know if I can use with UTF-8 encoded strings.

Does someone know if the above functions are compatible for UTF-8 encoded strings?
How can I tell which functions is suitable for UTF-8 encoded strings?
If all the above functions aren't compatibale for UTF-8 encoded strings, so what am I need to do which replace these functions?
What is the solution?

THANK YOU VERY MUCH !!!,
neo444.