Re: Generating UTF Files

From: Date: Thu, 20 Sep 2001 13:50:07 +0000
Subject: Re: Generating UTF Files
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-67990@lists.php.net to get a copy of this message
On Thu, Sep 20, 2001 at 02:57:43PM +0200, Jens Kisters wrote: > Hello, > > I was asked to generate files in UTF-8 Format, where can i find infos on > this? > Is it a multi-byte charset? > How do i use other charset in PHP? can i just switch to another charset and > then make $a="a"; where a is the UTF reprensentation of 'a'? > or will i have to mold bytes together myself using chr() ? UTF-8 is only an encoding not a charset. You can use utf8_encode() and utf8_decode in PHP. I think Unicode is often used with UTF-8. Stig

« previous php.general (#67990) next »