Re: charset win1251
| From: | Richard Lynch | Date: | Thu, 09 Aug 2001 19:16:04 +0000 |
| Subject: | Re: charset win1251 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-62057@lists.php.net to get a copy of this message | ||
> I finished English version of my site and wanted to start Russian
> part but realized that MySQL server returnes all data in koi-8r
> charset which is not very comfortable for some of the users,
> specially I know that A LOT of russians using Opera brawser older
> versions of which do not support koi-8 Any one knows how to
> convert koi-8 results of MySQL to win1251?
Try these:
http://php.net/manual/en/function.convert-cyr-string.php
http://php.net/manual/en/function.recode-string.php
http://php.net/manual/en/function.setlocale.php
--
WARNING richard@zend.com address is an endangered species -- Use
ceo@l-i-e.com
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm