RFR: 8263140: Japanese chars garble in console window in HSDB [v2]
Ioi Lam
iklam at openjdk.java.net
Mon Mar 8 00:26:06 UTC 2021
On Sun, 7 Mar 2021 23:52:21 GMT, Yasumasa Suenaga <ysuenaga at openjdk.org> wrote:
>> We can command line debugger via "Windows" -> "Console" menu on HSDB. If the command shows error message in localized string (e.g. Japanese), it might garble as following:
>>
>> 
>>
>> Command line debugger and Debugger Console (WinDbg on Windows) will use Courier font on their console, but it does not show Japanese chars. I guess it would happen on CJK chars because monospaced font for Chinese, Japanese, Korean are different from Courier.
>>
>> After this change on Windows which set to Japanese locale, it uses MS Gothic and we can see localized message as following:
>>
>> 
>
> Yasumasa Suenaga has updated the pull request incrementally with one additional commit since the last revision:
>
> Add GraphicsUtilities.getMonospacedFont()
LGTM
-------------
Marked as reviewed by iklam (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/2862
More information about the serviceability-dev
mailing list