charset mysql to save emoji code example Example: store emoji in php use utf8mb4 (charset) for store emoji in php database