Book Image

Mastering phpMyAdmin 2.11 for Effective MySQL Management

Book Image

Mastering phpMyAdmin 2.11 for Effective MySQL Management

Overview of this book

Table of Contents (25 chapters)
Mastering phpMyAdmin 2.11 for Effective MySQL Management
Credits
About the Author
About the Reviewers
Preface

Chapter 17. Character Sets and Collations

This chapter explains how phpMyAdmin stores and fetches data, and how it deals with the character set and collation features available under MySQL. The program's behavior is highly dependent on the MySQL version used.

A character set describes how symbols for a specific language or dialect are encoded. A collation contains rules to compare and sort the characters of a character set. (See the MySQL 4.1.x and Later section in this chapter.)

The character set used to store our data may be different from the one used to display it, leading to data discrepancies. Thus, a need to transform the data arises.

Language Files and UTF-8

"Unicode is an industry standard designed to allow text and symbols […] to be consistently represented and manipulated by computers". See http://en.wikipedia.org/wiki/Unicode and also http://www.unicode.org.

Unicode currently supports more than 600 languages, which is its main advantage over other character sets available with ISO...