nilsteampassnet / TeamPass

Collaborative Passwords Manager
https://www.teampass.net
1.65k stars 539 forks source link

Copy Pasting converts characters #3559

Open e4rthdog opened 1 year ago

e4rthdog commented 1 year ago

There is also an issue when copying in clipboard as i discovered. Look at the pic attached. Above is the correct password and below is after pasting it in notepad.

\ becomes \

image

Originally posted by @e4rthdog in https://github.com/nilsteampassnet/TeamPass/issues/3550#issuecomment-1448404613

nilsteampassnet commented 1 year ago

@e4rthdog Justed and cannot reproduce. The character \ is managed correctly in my case. I believe it is related to charset. I will investigate

e4rthdog commented 1 year ago

The collation of the database is utf8mb3_general_ci It was the same in v2 of Teampass which worked without this issue.

Should i convert the data base to utf8mb4_unicode_ci or utf8mb4_0900_ci_as ?

There is also another issue i created that may have to do with this same issue and it refers to characters not exported correctly in CSV and PDF. #3550

Thanks.

e4rthdog commented 1 year ago

Any news on how this can be resolved?

whismers commented 8 months ago

Hello, I have a similar issue. When upgrading from 2.1.27.36 to 3.0.1, the " \ " character displays fine. When upgrading from 3.0.1 to 3.1.0, the character is changed to "#&92;" (Display and copy). I had to rollback. Does anyone have any ideas? Thanks,