-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chinese character output not supported? #487
Comments
You can use UTF-8 encoding for output since the answer file is in UTF-8 encoding: import java.util.Scanner;
import java.io.PrintStream;
public class Main {
public static void main(String[] args) throws java.io.UnsupportedEncodingException {
PrintStream ps = new PrintStream(System.out, true, "UTF-8");
ps.println("你好");
}
} and then get AC. |
So there is an issue for https://github.com/vijos/jd4 that what the default encoding is and why it is not UTF-8. |
Not necessarily the entire jd4 engine, as this appears to be a Java-only issue. Just tested against C and Python, and both got AC. |
You can open an issue for jd4 to file this problem. Closing, while you can still feel free to reopen this issue if you have any updates. |
Example (It seems the link can be accessed by NON-DOMAIN members)
Code:
Self-test input (cannot be left empty):
Self-test output:
Verdict: WA
The text was updated successfully, but these errors were encountered: