Git Product home page Git Product logo

Comments (11)

Narrat avatar Narrat commented on August 15, 2024

1467802913

In red encircled should be a char (and they existed in the past).
And it happens for every feed

from canto-curses.

themoken avatar themoken commented on August 15, 2024

This isn't canto or Python breakage AFAICT, I can see those characters just fine with latest canto-curses and Python 3.5.2 here on Arch and even using Golem.de feeds.

Things I would try, although they're longshots:

  • check locale, /etc/locale.gen, etc. to make sure your terminal locale didn't change. Canto uses LC_ALL, and it should probably be a UTF-8 locale regardless of base language.
  • check that the locale has been generated (sudo locale-gen)
  • try canto-curses in a known good terminal, like uxterm or urxvt (both work here)

If these don't work it would be interesting to know for certain that downgrading to Python 3.5.1 fixes it, or if other rich console apps (like elinks) are having the same issue.

from canto-curses.

Narrat avatar Narrat commented on August 15, 2024

Happens with every terminal and locales are generated.
But the LC_ALL seems to be case.
Everything is set with the locale of choice. LC_ALL is empty.. The hell?

from canto-curses.

Narrat avatar Narrat commented on August 15, 2024

To make it even more curios. Downgrading to 3.5.1 and the chars appear again with the same locale settings

from canto-curses.

themoken avatar themoken commented on August 15, 2024

Did setting LC_ALL fix it on 3.5.2?

from canto-curses.

Narrat avatar Narrat commented on August 15, 2024

Nope. Chars are still missing then, hm

from canto-curses.

themoken avatar themoken commented on August 15, 2024

Looking through the 3.5.2 changelog, here's a shot in the dark: what does this command output on both versions?

python -c 'import sys; print(sys.stdout.encoding, sys.stdout.errors)'

Here I get "UTF-8 strict"

from canto-curses.

Narrat avatar Narrat commented on August 15, 2024

For both versions the same result:

$ python --version
Python 3.5.1
~ $ python -c 'import sys; print(sys.stdout.encoding, sys.stdout.errors)'
UTF-8 strict
~ $ python --version                                                     
Python 3.5.2
~ $ python -c 'import sys; print(sys.stdout.encoding, sys.stdout.errors)'
UTF-8 strict

Maybe it's an error within the i686 package

from canto-curses.

themoken avatar themoken commented on August 15, 2024

Possible, I'm totally 64 bit here.

from canto-curses.

Narrat avatar Narrat commented on August 15, 2024

And doesn't happen for me on armv7h too.
So, just i686 until now

from canto-curses.

Narrat avatar Narrat commented on August 15, 2024

After the python 3.6 update on i686 the non ascii chars still are missing, but this time "placeholder" like "you used the wrong encoding to decode this stuff" appear.
But as armv7h and my new x86_64 machine show it totally fine, it's imo not worth to track the issue any longer. So closing it

from canto-curses.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.