-
Notifications
You must be signed in to change notification settings - Fork 35
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
Update encoding to use locale based detection when parsing logs #10
base: master
Are you sure you want to change the base?
Conversation
Codecov Report
@@ Coverage Diff @@
## master #10 +/- ##
=========================================
- Coverage 4.31% 4.30% -0.01%
=========================================
Files 175 175
Lines 81020 81022 +2
=========================================
Hits 3492 3492
- Misses 77528 77530 +2
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
2a63a9e
to
f877898
Compare
if MemTo is not None: | ||
if "Note: including file:" == LineStr.lstrip()[:21]: | ||
if "Note: including file:" == LineStr.lstrip()[:21] or\ | ||
"注意: 包含文件: " == LineStr.lstrip()[:10]: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is this?
Do we need this in all supported languages?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That is the Chinese counterpart of "Note: including file" lines from compiler. It will spew many lines for each c file it built. I think that's why it was there in the first place. Do you know by chance where to look up this information, other than testing installation on all locales? (I think this is specific to CL)
This has been open for a while. Is it still required? |
Update encoding to use locale based detection when parsing logs.
This change also added the log handling/filtering of Chinese characters that was generated by VC compilers.