Skip to content

Test 跑测试用例出现乱码 #26

Open

Description

@ZhuXinyan

parse params err: Error: Command failed: g++ -I . -g main\main.cpp "-std=c++17" -o main/main
'g++' �����ڲ����ⲿ���Ҳ���ǿ����еij���
�����������

所有例子都会出现这个问题,cn的账号。我自己用g++命令行是能够编译通过的,

Activity

  1. blankroom commented on Feb 22, 2022

    @blankroom

    我用java也遇到了同样的问题
    这个好像和windows的命令行编码有关,我在一个正常编码的命令行中运行同一个命令发现是类没有找到错误,加了classpath之后就可以了。

    建议你可以尝试改一下win的编码,然后运行同一个命令看具体错误是什么再去改。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions