Jump to content

accents in mysql by php


cmdmss

Recommended Posts

Hi, good morning.I have here a customer base that is made by php sending data to a mysql database.My question is, when I´m going to subscribe a customer in the customer base that have accents, in the mysql, this customer appear with many strange characters.For example, if I enter téstê in the customer base, in the mysql appear téstê.Can any one give me tips to how I fix that?Sorry about bad english.Thanks. :)

Link to comment
Share on other sites

Try typing

charset utf8

in the MySQL terminal and see if it helps. Basically, you have to set a charset which supports the accents. UTF-8 should do, so it is safe to use it.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...