-
Notifications
You must be signed in to change notification settings - Fork 94
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 check_ncpa.py to Decode latin-1 #970
base: master
Are you sure you want to change the base?
Conversation
Some error with ptbr entry. Solved by adding correct Decoding Latin-1.
Hi @maxwbot, thanks for the PR! Can you let us know 1) what endpoint you were trying to use, 2) what environment NCPA is installed in, and 3) what error you were seeing? I'm not very experienced with the NCPA project, but I would be surprised if NCPA was intentionally serving anything other than UTF-8. What would be a lot less surprising is if some endpoint was taking data (especially on Windows, but possibly on other devices) and failing to properly re-encode it. If this is happening, we'd probably want to fix the endpoint, instead of having |
Tested in NCPA 3.0.0 and 2.4.1; |
Error log in ncpa with windows_service_name: "testémção":
|
Hi @sawolf , The problem lies in the coding: |
Some error with ptbr entry. Solved by adding correct Decoding Latin-1.