title: iconv() Vs. utf8_encode()
body: <p>when you have a charset different of UTF-8 and you need to put it on JSON format to migrate it to a DB, there are two methods that can be used in PHP, calling  utf8_encode() and iconv(). I would like to know which one have better performance, and when is convenient to use one or another.</p>