找回密码
 快速注册
搜索
查看: 31|回复: 2

[Firefox] textarea中\0字符截断后面的

[复制链接]

3149

主题

8386

回帖

6万

积分

$\style{scale:11;fill:#eff}꩜$

积分
65391
QQ

显示全部楼层

hbghlyj 发表于 2023-2-26 05:29 |阅读模式


内容是前面的\0\0\0后面的 只能复制到前面的

output.gif

3149

主题

8386

回帖

6万

积分

$\style{scale:11;fill:#eff}꩜$

积分
65391
QQ

显示全部楼层

 楼主| hbghlyj 发表于 2023-2-26 06:02
在Chrome是正常复制的, 虽然看不到\0, 但是可以在 Js 控制台看到
New Text Document.png

3149

主题

8386

回帖

6万

积分

$\style{scale:11;fill:#eff}꩜$

积分
65391
QQ

显示全部楼层

 楼主| hbghlyj 发表于 2023-2-28 08:26

只是Windows受影响, MacOS没有此问题.

BugZilla
I could not reproduce this issue on macOS. It seems that only Windows and GTK are affected. I suspect this is related to how the string data is placed into the system clipboard.

手机版|悠闲数学娱乐论坛(第3版)

GMT+8, 2025-3-4 15:38

Powered by Discuz!

× 快速回复 返回顶部 返回列表