Skip to content
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

UnicodeEncodeError: 'ascii' codec can't encode character u'\U0001f4bb' in position 0 #4

Closed
macdonjo opened this issue Nov 21, 2017 · 5 comments

Comments

@macdonjo
Copy link

The trace isn't necessarily helpful, but here it is:

Traceback (most recent call last):
  File "/usr/local/bin/instapy", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python2.7/site-packages/instapy_cli/__main__.py", line 11, in main
    print(welcome_msg)
UnicodeEncodeError: 'ascii' codec can't encode character u'\U0001f4bb' in position 0: ordinal not in range(128)
@macdonjo
Copy link
Author

Okay for some reason this library prints out a welcome message with emojis for no real reason,

@b3nab
Copy link
Owner

b3nab commented Nov 23, 2017

Hi @macdonjo ,
We live in 2017, unicode is the standard.

Please use a terminal with support for unicode character and emoji (default if unicode is supported).

@ghost
Copy link

ghost commented Dec 3, 2017

I think there should be a way to remove the welcome message, or at least the emoji from it. Not everyone has an emoji-capable terminal with bitmap support.

@b3nab
Copy link
Owner

b3nab commented Dec 3, 2017

I notice that you use python 2.7, maybe this is the problem.
I'll test it out and eventually (this is not my first option) remove the emoji from the client.

Info soon..

@b3nab
Copy link
Owner

b3nab commented Dec 4, 2017

I found a solution good for all: remove emoji package and add (in the near future) some ascii art instead of emoji, so this will bring support to everyone on every platform and keep this package "fun" as it should be.

You could find a new version on pip. I close this issue, open a new one if there are other problems.
🥂

@b3nab b3nab closed this as completed Dec 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants