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

Can't edit non-ASCII issue title: UnicodeEncodeError: 'ascii' codec can't encode character ... #236

Open
jwilk opened this issue Dec 15, 2017 · 1 comment
Labels
Milestone

Comments

@jwilk
Copy link
Contributor

jwilk commented Dec 15, 2017

$ git -c hub.upstream=jwilk/fbcat hub issue update --edit 15
Traceback (most recent call last):
  File ".../git-hub", line 2160, in <module>
    main()
  File ".../git-hub", line 2154, in main
    args.run(parser, args)
  File ".../git-hub", line 649, in check_config_and_run
    cmd.run(parser, args)
  File ".../git-hub", line 1261, in run
    msg = cls.editor(msg)
  File ".../git-hub", line 1080, in editor
    return editor(cls.help_msg, msg)
  File ".../git-hub", line 300, in editor
    f.write(msg or '')
UnicodeEncodeError: 'ascii' codec can't encode character u'\u201c' in position 0: ordinal not in range(128)

Tested with git HEAD (0855020).

@llucax
Copy link
Member

llucax commented Oct 30, 2020

I think this should be probably fixed by #278 or the move to Python3. Could you confirm?

@llucax llucax added this to the v1.1.1 milestone Oct 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants