anon
anon

Reputation:

MySQL Character sets

If I need a varchar(30) field, for example, that needs to contain several different foreign character sets, is there one particular language type that I can use in MySQL? For example, I have a field contains names in Chinese, Russian, English, Spanish and Portuguese, and possibly more in the future. How do I enable this for a varchar() field?

Upvotes: 2

Views: 170

Answers (3)

MIA
MIA

Reputation: 431

utf8mb4 should be the answers there days.

Upvotes: 0

Marko
Marko

Reputation: 31385

utf-8 is your friend.

Upvotes: 0

Javier
Javier

Reputation: 62593

Unicode can contain every character in use worldwide.

be sure to use UTF-8 for the field. (better yet, for the whole database).

Upvotes: 2

Related Questions