This function will help me to other suff that I wanted to do. Thank you.
That is the main reason of the mailing lists, learn of others, in this case, from
others in a lot of different countries around the world on an specific topic.
Cheers
Mario Soto
[EMAIL PROTECTED]
-.-.-.-
----- Original Message -----
From: nospam
To: 'Alexey Lysenkov'
Cc: 'Php-General
Sent: Thursday, April 03, 2003 5:05 AM
Subject: RE: [PHP] Re: *Umlauts/UTF-8
Hi Alexey
I can't tell about Cyrillic, but for "Umlauts" :
When you write the Text-Files, you can try to encode them
an entities. I stole the following function somewhere :
function encodemymail($txt) {
for ($i = 0; $i < strlen($txt); $i++) {
$ent .= "&#" . ord(substr($txt, $i, 1)) . ";";
}
return($ent);
}
echo encodemymail('� � � [ ]');
i use it for a different purpose, but it may help..
Gr��e
Sebastian
> -----Original Message-----
> From: Alexey Lysenkov [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 03, 2003 12:43 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Re: *Umlauts/UTF-8
>
>
> Please, anybody? I'm really stuck with this. Please, help, if
> you know
> the solution.
>
> -Alex
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php