-
Notifications
You must be signed in to change notification settings - Fork 243
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
fix: set utf-8 encoding #595
Conversation
Cause utf-8 is default at python3, the texts transfered among python are conflict in encoding on Windows with Chinese(cp936, GBK), which is not use utf-8 as default. This may cause a fact that html files write in GBK, accoding to io module chooice, will be read as utf-8 in browsers, which cause grabled signal. Signed-off-by: Next Alone <[email protected]>
for more information, see https://pre-commit.ci
Can you test 4.0.0-rc0? |
OK, I'd love to, and I'll let you know the results. |
Thank you!
Will make sure a fix is part of the next RC. Hopefully by EOW.
…On 15 Mar 2023 at 12:45 +0100, NextAlone ***@***.***>, wrote:
none of logs grabbed in html file
import logging
class Test1:
def test_1(self):
logging.info("test_1")
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
Can you share what command and flags you’re using?
…On 15 Mar 2023 at 12:45 +0100, NextAlone ***@***.***>, wrote:
none of logs grabbed in html file
import logging
class Test1:
def test_1(self):
logging.info("test_1")
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
|
Can you try adding the |
I also think you can drop the dot |
the same, using |
Still working on this. It was a little more involved that I anticipated. But I'm going to, as far as possible at least, adhere to what pytest does depending on the scenario. |
Got that, thanks
… 2023年3月23日 04:43,Jim Brännlund ***@***.***> 写道:
Still working on this. It was a little more involved that I anticipated.
But I'm going to, as far as possible at least, adhere to what pytest does depending on the scenario.
—
Reply to this email directly, view it on GitHub <#595 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AC5FEOVVMNJBDSZA7RQKR73W5NP7ZANCNFSM6AAAAAAV3GDZWA>.
You are receiving this because you authored the thread.
|
PR with the fix: |
I will test this fix soon to see if it helps solve the problem of Chinese character garbling. |
use |
Right. When doing a local install you have to build the javascript:
If you don't want to install Node/npm you can just wait a couple of days. I will release RC1 shortly. |
Hello, everything works well, except for a few issues:
Thank you for your efforts. |
This is great feedback! Thank you!
Thank you for your beta-testing (😅) It's greatly appreciated! |
|
2023-03-28.17.26.07.mov |
Aha, I see. Ok, I will think of something to make the FYI: Adding (some) of these is what the Links column is used for. |
Nice, thank you! Can you share the code/configuration for the extra columns? |
So, bad news and good news. The The good news is that I'm going to remove columns that are empty. Meaning "Links" will not be shown if it's empty. Does that work for you? Would you prefer a different solution? |
That sounds greet, that's enough. |
|
Just released |
Sorry for the delayed response, I will try it soon. |
Latest is now rc4 😅 |
Btw. We support ”pop” again (for the time being. |
It works fine, thanks. |
If everything is to your satisfaction, maybe we can close this issue? |
Of course, thanks. |
In Python 3, the default encoding is UTF-8. However, on Windows with Chinese (CP936/GBK), conflicts in encoding may occur since UTF-8 is not the default. This can cause HTML files written in GBK using the io module to be read as UTF-8 in browsers, resulting in garbled signals.
Signed-off-by: Next Alone [email protected]