On 22 Oct 2008 at 14:39, Thodoris wrote:
Hi guys,
I am developing a project and I wrote an interface to import contracts
in it. The problem is that when the user uploads the file I don't know
what is the encoding it has. So I decided that a good idea is to make
the user tell me the encod
A neat way to transcode between different encodings is htmlentities
and html_entity_decode [1, 2]
EXAMPLE:
There was a user with a similar problem at phpbuilder forums [3]. Have
a closer look at it.
[1] http://us2.php.net/manual/en/function.htmlentities.php
[2] http://us2.php.net/manual/en/fun
On 22 Oct 2008 at 14:39, Thodoris wrote:
> Hi guys,
> I am developing a project and I wrote an interface to import contracts
> in it. The problem is that when the user uploads the file I don't know
> what is the encoding it has. So I decided that a good idea is to make
> the user tell me the en
Hi guys,
I am developing a project and I wrote an interface to import contracts
in it. The problem is that when the user uploads the file I don't know
what is the encoding it has. So I decided that a good idea is to make
the user tell me the encoding from a drop down before I parse the file.
4 matches
Mail list logo