Menu

#931 Copy paste with mouse shorts text when it contains multibyte characters

Undefined
fixed
nobody
copy paste (1)
Bug_Report
2020-05-07
2020-03-16
bigbuggy
No

Hello

I use code::blocks 17.12 on Manjaro linux.
The bug is that while doing copy and paste with the mouse
to copy text from internal editor to external terminal or different
application the pasted text is to short.
Copying within the same internal editor window is working
(but marked text is shortened).
The problem is not when I use another editor e.g. "xed" to do
the same. Copying with Ctrl-c Ctrl-v is working without problem too.

I think it's because of UTF-8 multibyte encoding.
With ordinary ASCII characters everything is fine.
When, for example, I want to copy "HELLO §§§§ 12345"
I get only "HELLO §§§§ 1". The last four characters are missing.
I think, because § is a two byte character in UTF-8.
Same with other, longer UTF characters like german umlauts ÄÜÖ.

Greetings :-)

Discussion

  • bigbuggy

    bigbuggy - 2020-05-07

    Hello again...
    Seems that nobody else has this problem.
    Today downloaded code:blocks 20.03 and installed from source.
    Bug is gone. So don't take a deeper look again.

    Bye

     
  • Teodor Petrov

    Teodor Petrov - 2020-05-07
    • status: open --> fixed
     

Log in to post a comment.

MongoDB Logo MongoDB