Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8353698

Output of Simple Web Server is garbled if the console's encoding is not UTF-8

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 25
    • 21, 25
    • core-libs
    • None
    • 19
    • b18

      For example, the default character encoding for the Japanese Windows command prompt is MS932. Therefore, when using the jwebserver command in the Japanese Windows command prompt, garbled characters occur as follows.

      > jwebserver.exe --help
      菴ソ逕ィ譁ケ豕・ jwebserver [-b bind address] [-p port] [-d directory]
      [-o none|info|verbose] [-h to show options]
      [-version to show version information]
      繧ェ繝励す繝ァ繝ウ:
      -b, --bind-address - 繝舌う繝ウ繝牙・繧「繝峨Ξ繧ケ縲ゅョ繝輔か繝ォ繝・ 127.0.0.1 (繝ォ繝シ繝励ヰ繝・け)縲・ 縺吶∋縺ヲ縺ョ繧、繝ウ繧ソ繝輔ぉ繝シ繧ケ縺ァ"-b 0.0.0.0"縺セ縺溘・"-b ::"繧剃スソ逕ィ縺励∪縺吶€・-d, --directory - 菴ソ逕ィ縺吶k繝・ぅ繝ャ繧ッ繝医Μ縲ゅョ繝輔か繝ォ繝・ 迴セ蝨ィ縺ョ繝・ぅ繝ャ繧ッ繝医Μ縲・-o, --output - 蜃コ蜉帛ス「蠑上€ Oone|info|verbose縲ゅョ繝輔か繝ォ繝・ info縲・-p, --port - 繝ェ繧ケ繝九Φ繧ー縺吶k繝昴・繝医€ゅョ繝輔か繝ォ繝・ 8000縲・-h, -?, --help - 繝倥Ν繝励・繝。繝・そ繝シ繧ク繧貞・蜉帙@縺ヲ邨ゆコ・@縺セ縺吶€・-version, --version - 繝 舌・繧ク繝ァ繝ウ諠・ア繧貞・蜉帙@縺ヲ邨ゆコ・@縺セ縺吶€・繧オ繝シ繝舌・繧貞●豁「縺吶k縺ォ縺ッ縲ーCtrl]+[C]繧呈款縺励∪縺吶€・

            jpai Jaikiran Pai
            tkiriyama Takuya Kiriyama
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: