키의 "실명" 비트에서 유니코드를 사용하는 방법은 무엇입니까?

키의 "실명" 비트에서 유니코드를 사용하는 방법은 무엇입니까?

GPG는 유니코드를 지원하는 것으로 보이지만 실제로는 지원하지 않습니다.일하다

% gpg --utf8-strings --display-charset utf-8 --edit-key [email protected]
gpg (GnuPG) 1.4.15; Copyright (C) 2013 Free Software Foundation, Inc.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

gpg: key xxxxxxxx: duplicated user ID detected - merged
Secret key is available.

gpg: checking the trustdb
gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
gpg: depth: 0  valid:   1  signed:   0  trust: 0-, 0q, 0n, 0m, 0f, 1u
pub  4096R/xxxxxxxx  created: 2014-02-20  expires: never       usage: SC
                     trust: ultimate      validity: ultimate
sub  4096R/xxxxxxxx  created: 2014-02-20  expires: never       usage: E
[ultimate] (1). King George \xe2\xa3\x20<[email protected]>

gpg> uid

pub  4096R/xxxxxxxx  created: 2014-02-20  expires: never       usage: SC
                     trust: ultimate      validity: ultimate
sub  4096R/xxxxxxxx  created: 2014-02-20  expires: never       usage: E
[ultimate] (1). King George \xe2\xa3\x20<[email protected]>

gpg> adduid
Real name: King George Ⅳ      ### I type this.
Email address: [email protected]
Comment:
You are using the `utf-8' character set.
You selected this USER-ID:
    "King George � <[email protected]>"    ### Terminal notes corruption.

Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit? O

You need a passphrase to unlock the secret key for
user: "King George \xe2\xa3\x20<[email protected]>"
4096-bit RSA key, ID xxxxxxxx, created 2014-02-20


pub  4096R/xxxxxxxx  created: 2014-02-20  expires: never       usage: SC
                     trust: ultimate      validity: ultimate
sub  4096R/xxxxxxxx  created: 2014-02-20  expires: never       usage: E
[ultimate] (1)  King George \xe2\xa3\x20<[email protected]>
[ultimate] (2). King George \xe2\xa3\x20<[email protected]>  ### That's not correct UTF-8.
  • 내 터미널은 UTF-8을 사용하도록 설정되어 있습니다.
  • LANG=en_US.UTF-8

하단 참고: UTF-8 시퀀스는 정확하지 않지만 거의 비슷합니다! 그만큼가운데있어야 하는 3바이트 시퀀스의 옥텟이 누락되었습니다. 중간 옥텟을 떨어뜨리기 위해 내가 할 수 있는 일이 없을 것 같은데, 여기서 무슨 일이 벌어지고 있는 걸까요?

관련 정보