Re: convert (windows-1250) to (utf-8)
| From: | Tijnema | Date: | Sat, 11 Aug 2007 22:40:17 +0000 |
| Subject: | Re: convert (windows-1250) to (utf-8) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-260713@lists.php.net to get a copy of this message | ||
On 8/11/07, Alain Roger <raf.news@gmail.com> wrote:
> Hi,
>
> I import a csv file (which includes characters from "windows-1250" charset)
> to postgreSQL database which is in UTF-8.
> How can i convert windows-1250 to utf-8 charset ?
>
> thanks a lot,
>
> --
I personally never worked with different charsets, but this might help you:
http://www.php.net/manual/en/function.mb-convert-encoding.php
Tijnema
--
Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.info