Re: PHP connects in Latin1 when it should do it in UTF-8

2006-07-09 Thread Santiago del Castillo
Hi, i fixed it with this: [mysqld] init-connect='SET NAMES utf8' And now works like a charm :) Your solution it's the right one for you because you have databases in different encodings, Since i don't, i didn't wanted to do extra queries to the DB. In fact, that solution is the one i was using u

Re: PHP connects in Latin1 when it should do it in UTF-8

2006-07-07 Thread Eric Butera
On 7/6/06, Santiago del Castillo <[EMAIL PROTECTED]> wrote: Hi, i'm having a bit of a headache with PHP and MySQL, i've some questions: 1) I've a database in UTF-8 and when i connect to it with mysql_connect, and exec a query with mysql_query, the results are in latin1. (i proved this with mysq