Found it. Have to use:
mysql_query("SET CHARACTER SET 'utf8'", $link);
""Guus Ellenkamp"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> The document IS UTF-8. The character does not seem to be. It comes from a
> mySQL database. However, also the database settings are also UTF-8.
The document IS UTF-8. The character does not seem to be. It comes from a
mySQL database. However, also the database settings are also UTF-8. The
field was entered into the database with phpMyAdmin. I tried it now local on
my test-system and remote, so the database itself does not seem to be the
Guus Ellenkamp wrote:
I have a string with an n with a tilde. mb_detect_encoding says it's UTF-8.
I set the http encoding to UTF-8 and also the internal encoding. However, I
cannot produce proper output with echo $varwithtilde.
echo $returnArray[$i]->address1.' has
'.mb_detect_encoding($retu
On Fri, Jul 12, 2002 at 11:02:54PM +0100, Emile Axelrad wrote:
> Hello - My problem is as follows (I am trying to migrate from a mssql
> server to a mysql server)
OH!
> The data in the MSSQL table is: Æã
>
> IF I call this PHP code from my browser (IE6) it results in the
> following output: Æ
Emile:
On Fri, Jul 12, 2002 at 09:58:53PM +0100, Emile Axelrad wrote:
> $data = mssql_result(mssql_query("SELECT Field FROM table WHERE
> ID='1'"),0);
> mysql_insert("INSERT INTO table2 VALUES('$data')");
Ouch.
First, you're mixing and matching mssql and mysql functions. Seco
5 matches
Mail list logo