ああ、よくあるわよね。こういう時、どうすればいいのかしら?
ちょっとやってみたわ。
あ、ちなみに web1 というのが webBrowserの名前ね。
string source = web1.DocumentText;
MemoryStream reader = (MemoryStream)web1.DocumentStream; byte[] bytes = reader.ToArray(); string source = Encoding.GetEncoding(web1.Document.Encoding).GetString(bytes);
うん、これでUTF-8で無事に取り込めるようになったかな?