Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is better for PHP developers - Unicode or UTF-8?

What is better for PHP developers - Unicode or UTF-8?

I am going to create an international CMS. So I am going to have clients all over the world. They will speak all possible languages.

What encoding format is better for browser recognition and for DB data storage?

like image 333
Rella Avatar asked May 08 '10 01:05

Rella


1 Answers

"Unicode" is not an encoding. You may mean UTF-8 versus UTF-16 (big-endian or little-endian). It really doesn't matter much for browser support. Any modern browser will support all three. You will probably find UTF-8 is the most space-efficient for your database.

like image 142
Matthew Flaschen Avatar answered Nov 14 '22 12:11

Matthew Flaschen