Skip to content

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

Open
@jwilk

Description

@jwilk
$ 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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions