copying to clipboard includes invisible characters

From: Jan Mahle <jan(dot)mahle(at)infraview(dot)net>
To: "pgadmin-support(at)lists(dot)postgresql(dot)org" <pgadmin-support(at)lists(dot)postgresql(dot)org>
Subject: copying to clipboard includes invisible characters
Date: 2017-10-12 07:26:35
Message-ID: E52564E2-7681-4E9E-9561-C44113E75C3E@infraview.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support


Hi,

I've encountered an odd bug in pgAdmin 4 (tested on 1.6 and 2.0) on MacOS (in my case Sierra 10.12.6):
when copying something to clipboard from a field in a table it begins with a char that isn't printed in most editors (including the popup when double-clicking the cell in the table to copy the string from). Neither in Notepad++ (with "show all characters" enabled), Sublime nor Intellij IDEA. In vim it shows up as <feff> and on the regular bash shell as a space - apparently it doesn't appear to happen on Windows and I just accidently shot several of my configs when I copy/pasted to a config of some java app that tried to open a connection to an OpenFire chatserver (in the logs of OpenFire i showed up during login as "???username“ rather than just "username“ )..
I’m guessing this is related to some encoding since googling suggested <feff> is a BOM (byte-order mark) - i’m not sure this is intended behavior but i may be wrong.

Greetings,

Jan

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Dave Page 2017-10-12 08:40:53 Re: PgAdmin 4 v2.0 stuck in "Initializing the query execution!"
Previous Message Murtuza Zabuawala 2017-10-12 05:39:33 Re: PgAdmin 4 v2.0 stuck in "Initializing the query execution!"