Skip to content

Instantly share code, notes, and snippets.

@decodedmrq
Last active February 2, 2021 15:04
Show Gist options
  • Save decodedmrq/679a10e15fc1caccd6ae709aac882ed9 to your computer and use it in GitHub Desktop.
Save decodedmrq/679a10e15fc1caccd6ae709aac882ed9 to your computer and use it in GitHub Desktop.
mb_convert_encoding($text, 'UTF-8', 'Shift-JIS, EUC-JP, JIS, SJIS, JIS-ms, eucJP-win, SJIS-win, ISO-2022-JP,ISO-2022-JP-MS, SJIS-mac, SJIS-Mobile#DOCOMO, SJIS-Mobile#KDDI,SJIS-Mobile#SOFTBANK, UTF-8-Mobile#DOCOMO, UTF-8-Mobile#KDDI-A,UTF-8-Mobile#KDDI-B, UTF-8-Mobile#SOFTBANK, ISO-2022-JP-MOBILE#KDDI')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment