folk that use Xterm I have a strange problem that when i highlight text say from the output of fastfetch and then paste it I get weird extras on the end , sometimes with what looks like font names that I don't use.

I pasted my laptops model number and it showed up as this 20Y1000SUKp-_g^O^C when it should have been just what I highlighted 20Y1000SUK
This is supposed to be /usr/X11R6 when pasted shows as /usr/X11R6Lohit Tamil

My .Xresources is below.

XTerm*termName: xterm-256color
XTerm*locale: true
XTerm*highlightSelection: true
XTerm*trimSelection: true
XTerm*saveLinew: 4096
XTerm*scrollBar: false
XTerm*cursorBlink: true
XTerm.VT100.utf8: true
XTerm*allowScrollLock: true

! Xcursor theme
Xcursor.theme: Adwaita
Xcursor.size: 24

! Font
XTerm*faceName: Go Mono Nerd Font Mono
XTerm*renderFont: true
XTerm*faceSize: 10

Xft.dpi: 96

XTerm*keepClipboard: true
XTerm*selectToClipboard: true
XTerm*VT100.Translations: \n\
Ctrl Shift <KeyPress>C: copy-selection(CLIPBOARD) \n\
Ctrl Shift <KeyPress>V: insert-selection(CLIPBOARD)

! Clicking a line selects only from the current word forward
XTerm*cutToBeginningOfLine : false
! and dont include a trailing newline in the selection!
XTerm*cutNewline : false
! Some black magic to change what characters XTerm considers "word delimiters"
XTerm*charClass : 33:48,36-47:48,58-59:48,61:48,63-64:48,95:48,126:48
! Select word on two clicks
XTerm*on2Clicks : word
! Select whole line on three clicks
XTerm*on3Clicks : line
! Select whole group on four clicks
XTerm*on4Clicks: group
! Select whole page on five clicks
XTerm*on5Clicks: page

! Gruvbox theme
XTerm*background:
XTerm*foreground:
XTerm*color0:
XTerm*color8:
XTerm*color1:
XTerm*color9:
XTerm*color2:
XTerm*color10:
XTerm*color3:
XTerm*color11:
XTerm*color4:
XTerm*color12:
XTerm*color5:
XTerm*color13:
XTerm*color6:
XTerm*color14:
XTerm*color7:
XTerm*color15:
0

If you have a fediverse account, you can quote this note from your own instance. Search https://snac.smithies.me.uk/justine/p/1762199449.214557 on your instance and quote it. (Note that quoting is not supported in Mastodon.)