Re: Re: *Umlauts/UTF-8

From: Date: Fri, 04 Apr 2003 04:46:29 +0000
Subject: Re: Re: *Umlauts/UTF-8
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-142385@lists.php.net to get a copy of this message
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 mario_s@amigo.net.gt -.-.-.- ----- 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:man@xtati.com] > Sent: Thursday, April 03, 2003 12:43 PM > To: php-general@lists.php.net > 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

« previous php.general (#142385) next »