0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

特定のサイトで日本語フォントがおかしいときの対処法 chatgpt.comの「、」「。」が文字化けした

0
Posted at

これは何?

一昨日くらいからchatgpt.comの日本語フォントがおかしくなった。
具体的には「、」と「。」の形がおかしい。

Screenshot from 2026-02-13 14-25-44.png

これを修正する方法を書く。


環境

  • Ubuntu 24.04 LTS

    cat /etc/os-release
    PRETTY_NAME="Ubuntu 24.04.3 LTS"
    NAME="Ubuntu"
    VERSION_ID="24.04"
    VERSION="24.04.3 LTS (Noble Numbat)"
    VERSION_CODENAME=noble
    
  • Firefox 147.0.3 (64-bit)

  • 対象サイト: chatgpt.com
    image.png

  • システム言語: English (United States)
    image.png


解決方法: CSSに日本語フォントを追加した

* {
    font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic",
      system-ui, -apple-system, "Segoe UI", sans-serif !important;
  }

image.png


試したこと

  • UbuntuのシステムfontをNoto Sans CJK JPに変更 --> 変化なし
    image.png
  • Chromeでアクセスしてみる --> 異常なし。
  • 他サイトを試す --> 異常なし
  • FirefoxのフォントをNoto Sans CJK JPに変更 --> 変化なし
  • chatgpt.comの言語設定を日本語にする --> 文字化け継続
  • 開発者ツールからconsoleで以下を入力 --> 直った! --> Stylusでcss追加した。
    document.body.style.fontFamily = '"Noto Sans JP", sans-serif'
    
    image.png
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?