3

just wondering that what is the difference between utf8 and utf-8? or they are just the same? as I have read in an answer here at SO saying use utf8 for PDO as utf-8 generate errors sometimes.

EDITS where would utf-8 be invalid to use? (as answered in another similar question)

vep temp
  • 249
  • 1
  • 6
  • 18

1 Answers1

1

There is no difference between "utf8" and "utf-8"; they are simply two names for UTF8, the most common Unicode encoding.

Ramchandra Apte
  • 4,033
  • 2
  • 24
  • 44