I have not been able to find anything on this issue elsewhere.I have set encoding? to utf-8 and I am using iTerm2 with utf-8 as well, on a Mac. In my plugin, I have predefined a couple of strings that consist of unicode characters which are echoed when the user enters a command. I have attached an image of the artifact below which is a captial 'A', but the the letters seem to be random. I have also tried using the unicode codepoint in the string i.e. '\u2615' with the same outcome. The strings are only defined when has('multi_byte') is true. Lastly, I have also set fileencoding to utf-8 with no change and read the :h digraphs page.This might also be a bash/iTerm2 issue, hence the above information. I am using bash 4.4.1 and vim 8.0 (patches 1-139). $LANG and $LC_ALL both return en_US.UTF-8.
Strange artifact letters appear when echoing unicode characters
unicode;encoding;iterm2