php dom load 編碼爛掉

技術筆記
https://stackoverflow.com/questions/8218230/php-domdocument-loadhtml-not-encoding-utf-8-correctly 實用