Open sunzh233 opened 3 years ago
Translation: When the file is in a Chinese named folder, the compiler cannot locate the error line.
Is it not showing "Line 53, Column 34" on the screen?
The line 53 is not marked as error line
That's means when you double click the error information, the cursor cannot locate to the error line.
And I noticed that there is a mess in the Chinese path.
Yes.
and it only happens when the file is in a Chinese named folder
I don't think this is a bug need fix it.
It sounds like mojibake or something to that effect is happening though? Which should be fixable.
No, use English to code is a good things without bug. As a developer, we should not use Chinese programming.
It sounds like mojibake or something to that effect is happening though? Which should be fixable.
No, please do not discrimiate Chinese. Chinese programmers should have the choice to program with Chinese. Besides, we need print some Chinese paragraph in the program, it is a must to fix this bug.
No, use English to code is a good things without bug. As a developer, we should not use Chinese programming.
But sometimes,teacher asks us to put our files under a folder named after our names in Chinese to submit code in contests.
So I think it's important to fix this bug.
I am Chinese. But I still object to use of Chinese folders when programming. Yi language is a Chinese programming language you can use it, but will not become mainstream.
I think this is a Chinese encoding error, it is inevitable. When porting code, errors may occur.
确实不会变成主流,不过这终究是个bug,是bug就得修复。
I am Chinese. But I still object to use of Chinese folders when programming. Yi language is a Chinese programming language you can use it, but will not become mainstream.
I think this is a Chinese encoding error, it is inevitable. When porting code, errors may occur.
况且当前版本还有一个bug,就是注释显示不出来。注释当然也得是中文的对吧
那行吧,注释肯定要修复的,虽然我使用中文注释的时候没有遇到这个问题。文件路径真的还是应该规范使用英文,实在是不想用,拼音也是实在越过底线的办法。现在只要在搜索引擎上找“中文路径”,全都是各种领域的编程语言出现的编码问题,dev c++修复那挺好,但是没办法保证所有的IDE都给你适配中文啊,所以使用英文作为文件路径以及编写代码是一个好习惯。
But sometimes,teacher asks us to put our files under a folder named after our names in Chinese to submit code in contests.
虽然有点伤人,但是我觉得你的老师教得不对
6.2版本的就已经开始中文注释显示不出来了,我发了一个issue被作者标记为duplicate,但是迟迟没有修复。
那行吧,注释肯定要修复的,虽然我使用中文注释的时候没有遇到这个问题。文件路径真的还是应该规范使用英文,实在是不想用,拼音也是实在越过底线的办法。现在只要在搜索引擎上找“中文路径”,全都是各种领域的编程语言出现的编码问题,dev c++修复那挺好,但是没办法保证所有的IDE都给你适配中文啊,所以使用英文作为文件路径以及编写代码是一个好习惯。
But sometimes,teacher asks us to put our files under a folder named after our names in Chinese to submit code in contests.
虽然有点伤人,但是我觉得你的老师教得不对
那行吧,注释肯定要修复的,虽然我使用中文注释的时候没有遇到这个问题。文件路径真的还是应该规范使用英文,实在是不想用,拼音也是实在越过底线的办法。现在只要在搜索引擎上找“中文路径”,全都是各种领域的编程语言出现的编码问题,dev c++修复那挺好,但是没办法保证所有的IDE都给你适配中文啊,所以使用英文作为文件路径以及编写代码是一个好习惯。
很多学生喜欢按照课程名称建文件夹,然后把课程相关的文件(包括作业)都放到课程文件夹里。我个人认为这是个好习惯。
But sometimes,teacher asks us to put our files under a folder named after our names in Chinese to submit code in contests.
虽然有点伤人,但是我觉得你的老师教得不对
作为一名教师,我很理解这位老师的做法,否则怎么登记成绩呢?逐个去对学号么?出错了你负责吗?
6.2版本的就已经开始中文注释显示不出来了,我发了一个issue被作者标记为duplicate,但是迟迟没有修复。
那行吧,注释肯定要修复的,虽然我使用中文注释的时候没有遇到这个问题。文件路径真的还是应该规范使用英文,实在是不想用,拼音也是实在越过底线的办法。现在只要在搜索引擎上找“中文路径”,全都是各种领域的编程语言出现的编码问题,dev c++修复那挺好,但是没办法保证所有的IDE都给你适配中文啊,所以使用英文作为文件路径以及编写代码是一个好习惯。
But sometimes,teacher asks us to put our files under a folder named after our names in Chinese to submit code in contests.
虽然有点伤人,但是我觉得你的老师教得不对
所以,为什么不试试小熊猫devcpp呢?
都什么年代了 还有不支持中文路径的
文件在中文命名的文件夹内时 编译无法定位到错误行