mb_convert_encoding($altbody,"SJIS-win","UTF-8"); のように、SJIS-WIN や、EUCJP-WIN を指定すると良い。 {{category2 プログラミング言語,PHP}}