Re: Importing file
| From: | Dan Anderson | Date: | Wed, 13 Aug 2003 00:34:19 +0000 |
| Subject: | Re: Importing file | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-159373@lists.php.net to get a copy of this message | ||
I've actually run into a similar problem trying to use spanish in mail.
I can't remember the exact solution off the top of my head but it
basically involved going from ASCII to UTF.
-Dan
On Tue, 2003-08-12 at 19:23, Richard Baskett wrote:
> When I import a file using the file() function it is screwing up any spanish
> accents and putting in some strange characters in their place. Is there
> something that I can do to remedy this?
>
> So for example something like 'é' is being turned into '-', or
> 'í' is being
> turned into '£' etc etc.. examples are not correct, but it's just to get the
> point across :)
>
> Cheers!
>
> Rick
>
> He who draws noble delights from the sentiments of poetry is a true poet,
> though he has never written a line in all his life. - George Sand
>