php - utf-8 encoding in HTML and utf8_unicode_ci char set & collation for MySQL - can I store & display any type of text in it now? -
i want dvp small web app ideally used worldwide. sake of discussion, let's it's recipe sharing site - it's enough metaphor.
my app allow users enter or upload text in native languages. html header says site uses utf-8 encoding. creating mysql db, , suppose should select utf8_unicode_ci char set & collation.
is correct?
is need able receive, store, , display safe user-generated-content in chosen language? if not, missing?
(i aware of safety concerns associated displaying ugc, not question - here solely looking advice deal safe content.)
it html , db part, must ensure programming language utf-8 aware doesn't garble stuff. if use php make sure functions use utf-8 aware. if isn't manual mentions it.
Comments
Post a Comment