terminal/src/terminal
Ryuichi Ito 743283e434
Fix garbling when copying multibyte text via OSC 52 (#7870)
This commit adds a missing conversion utf8 to utf16 in decoding base64
for handling multibyte text in copying via OSC 52.

## Validation Steps Performed
* automatically
    * Tests w/ multibyte characters
* manually
    * case1
        * Executed `printf "\x1b]52;;%s\x1b\\" "$(printf '👍👍🏻👍🏼👍🏽👍🏾👍🏿' | base64)"`
        * Verified `👍👍🏻👍🏼👍🏽👍🏾👍🏿` in my clipboard
    * case2
        * Copied `👍👍🏻👍🏼👍🏽👍🏾👍🏿` by tmux 2.6 default copy function (OSC 52)
        * Verified `👍👍🏻👍🏼👍🏽👍🏾👍🏿` in my clipboard

Closes #7819
2020-10-16 02:02:59 +00:00
..
adapter Add support for the DECREQTPARM report (#7939) 2020-10-15 15:50:02 -07:00
input Update clang-format to 10.0 (#7389) 2020-08-25 17:15:43 +00:00
parser Fix garbling when copying multibyte text via OSC 52 (#7870) 2020-10-16 02:02:59 +00:00
dirs Initial release of the Windows Terminal source code 2019-05-02 15:29:04 -07:00