0

I am using IBM MQ on a Windows 11 machine that was originally installed with the Japanese language pack—in other words, unlike the typical en-US installation, mine came with Japanese as the default. Most of the system UI, including Windows text, MQ installation dialogs, and command outputs, are in Japanese. However, when IBM MQ writes output to a file, some parts appear in Japanese while others—especially the date and time—are still in English. For example, the output looks like this:

5724-H72 (C) Copyright IBM Corp. 1994, 2020.
キュー・マネージャー QM に対して MQSC を始動中です。


       : * Autoconfiguration MQSC cache from 2025/10/28 10:24:04
     1 : dis qmgr ccsid
AMQ8408I: キュー・マネージャーの内容を表示します。
   QMNAME(QM)                              CCSID(932)
MQSC コマンドを 1 つ読み取りました。
構文エラーがあるコマンドはありません。
有効な MQSC コマンドはすべて処理されました

As you can see, the date format 2025/10/28 10:24:04 is in English. I’ve already configured everything under Control Panel → Clock and Region and Settings → Time & Language to Japanese, including the system location. On Linux, this was easy—I could just run export LC_TIME=ja_JP.UTF-8 and it worked perfectly. But on Windows, this doesn’t seem to have any effect. Can someone help me configure Windows so that even the date and time in MQ output are shown in Japanese format, like:

2025年10月21日 08時21分32秒?

2
  • fyi - this doesn't look like a programming question, and (as written) is off-topic here. This is also called out in the windows tag description. Commented Oct 29 at 17:57
  • @DavidMakogon It's about setting locale specifically alternative for LC_TIME in windows. It is more of an environment variable but does directly interfere/change the way programming languages interpret date & time. Commented Nov 4 at 9:10

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.