Jump to content
Larry Ullman's Book Forums

Accented Letters And Cyrillic Characters


Recommended Posts

I successfully inserted data into the database and I also understood how to secure query data (script 12.5). But when I try to retrieve data from the DB (script 12.6) accented letters or cyrillic characters aren't properly visualized. For example if for the blog title I inserted "Vocali accentate à è é ì ò ù" [i am from Italy], then when I retrieved data, I got "vocali accentate � � � � � ". An the same goes with cyrillyc characters (I'd like to create a DB in both Russian and Italian language).

How can I solve? Please, help me! Thanks.

 
Link to comment
Share on other sites

This is an issue of encoding and character sets (two different ways of referring to the same concept, depending upon context). You should be using UTF-8 encoding in your HTML files, your PHP scripts, your text editor, your MySQL connections, and your MySQL table.

Link to comment
Share on other sites

 Share

×
×
  • Create New...