My puppyのブログ

学んだ事や作っているプログラムなどについて書いています。

2022-05-13から1日間の記事一覧

(解決)Error: "Input is not proper UTF-8, indicate encoding !" using PHP's simplexml_load_string

1週間ほど前の話です。 PHPのsimplexml_load_string()を使ってYouTubeからxmlファイルをダウンロードしようとしたら失敗してしまいまして、「parser error : Input is not proper UTF-8, indicate encoding ! Bytes: 0xED 0x6E 0x2C 0x20」の様なエラーが表…