Welcome Guest, Not a member yet? Register   Sign In
Mysql/accents problem
#1

[eluser]Unknown[/eluser]
Hello,

I have a problem with mysql and the accents if i write a sql query with accents like

Code:
INSERT INTO 'xxx' VALUES('óíúíñÑ')

in the database write '??????' what can i do!!??


Thanks!
#2

[eluser]cmgmyr[/eluser]
Looks like you will have to change the collation of your database/table. Try using: utf8_general_ci
#3

[eluser]Unknown[/eluser]
Thanks, i found the solution:

Change:
Code:
<html>

with:

Code:
<? header('Content-Type: text/html; Charset=UTF-8');  ?>
<html lang="es">

Thanks all
Edgar Nadal
#4

[eluser]Juan Velandia[/eluser]
[quote author="EdgarN" date="1219362759"]Thanks, i found the solution:

Change:
Code:
<html>

with:

Code:
<? header('Content-Type: text/html; Charset=UTF-8');  ?>
<html lang="es">

Thanks all
Edgar Nadal[/quote]

Hello Edgard, wich file should I work on to make this change? thanks




Theme © iAndrew 2016 - Forum software by © MyBB