RE: [PHP] Re: *Umlauts/UTF-8

From: Date: Thu, 03 Apr 2003 11:05:02 +0000
Subject: RE: [PHP] Re: *Umlauts/UTF-8
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-142108@lists.php.net to get a copy of this message
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 >

« previous php.general (#142108) next »