apache / incubator-seata

:fire: Seata is an easy-to-use, high-performance, open source distributed transaction solution.
https://seata.apache.org/
Apache License 2.0
25.22k stars 8.76k forks source link

seata 1.5.2 console display worry charcode when start up #5361

Open daizhongde opened 1 year ago

daizhongde commented 1 year ago
Active code page: 65001
"D:\server\seata-server-1.5.2/logs"
"apm-skywalking not enabled"

[0.004s][warning][gc] -Xloggc is deprecated. Will use -Xlog:gc:D:\server\seata-server-1.5.2/logs/seata_gc.log instead.
[0.075s][info   ][gc] Using G1
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/D:/server/seata-server-1.5.2/bin/../lib/guice-4.1.0.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
���������������[���������������[ �����������[ �����������������[ �����������[
�����X�T�T�T�T�a�����X�T�T�T�T�a�����X�T�T�����[�^�T�T�����X�T�T�a�����X�T�T�����[
���������������[�����������[  ���������������U   �����U   ���������������U
�^�T�T�T�T�����U�����X�T�T�a  �����X�T�T�����U   �����U   �����X�T�T�����U
���������������U���������������[�����U  �����U   �����U   �����U  �����U
�^�T�T�T�T�T�T�a�^�T�T�T�T�T�T�a�^�T�a  �^�T�a   �^�T�a   �^�T�a  �^�T�a

20:53:15.482  INFO --- [                     main] io.seata.server.ServerApplication        : Starting Server
slievrly commented 1 year ago

@daizhongde Please help to confirm whether the garbled code is in Chinese or not.

wangliang181230 commented 1 year ago

Please try to add a line of script

chcp 65001  # UTF-8

or

chcp 936  # 简体中文

to the first line of the seata-server.bat file.

As follows: 图片