Caused by: java.io.IOException: 管道已结束。 at java.base/java.io.FileOutputStream.writeBytes (Native Method) at java.base/java.io.FileOutputStream.write (FileOutputStream.java:367) at ...
When running a Java program that outputs Japanese using System.out.print in IntelliJ (2025.1.1), the Japanese characters appear garbled as shown below. package org ...