CoolFormat icon indicating copy to clipboard operation
CoolFormat copied to clipboard

文本过长会自动换行,并且解析错误

Open peach5460 opened this issue 7 years ago • 2 comments

我有程序里面返回的一个json字符串,只有一行,但是有40W个字符. 复制到notpad++里面时正常显示为1行 但是复制到CoolFormat里面时,显示为20行 并且点击格式化时,因为在不正确的地方换行,导致解析错误

image image 由上两图可见,就是在nullzhe这个地方,切换了换行,变成了第七行以nul结尾,第八行以l开头,导致解析错误

peach5460 avatar Aug 15 '18 03:08 peach5460

这个编辑器还不支持那么长的一行,你可以用命令行模式 ----- 原始邮件 ----- 发件人:RogerLee [email protected] 收件人:akof1314/CoolFormat [email protected] 抄送人:Subscribed [email protected] 主题:[akof1314/CoolFormat]文本过长会自动换行,并且解析错误(#51) 日期:2018年08月15日 11点52分

我有程序里面返回的一个json字符串,只有一行,但是有40W个字符.

复制到notpad++里面时正常显示为1行

但是复制到CoolFormat里面时,显示为20行

并且点击格式化时,因为在不正确的地方换行,导致解析错误

由上两图可见,就是在nullzhe这个地方,切换了换行,变成了第七行以nul结尾,第八行以l开头,导致解析错误

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

akof1314 avatar Aug 15 '18 08:08 akof1314

这个编辑器还不支持那么长的一行,你可以用命令行模式 ----- 原始邮件 ----- 发件人:RogerLee [email protected] 收件人:akof1314/CoolFormat [email protected] 抄送人:Subscribed [email protected] 主题:[akof1314/CoolFormat]文本过长会自动换行,并且解析错误(#51) 日期:2018年08月15日 11点52分 我有程序里面返回的一个json字符串,只有一行,但是有40W个字符. 复制到notpad++里面时正常显示为1行 但是复制到CoolFormat里面时,显示为20行 并且点击格式化时,因为在不正确的地方换行,导致解析错误 由上两图可见,就是在nullzhe这个地方,切换了换行,变成了第七行以nul结尾,第八行以l开头,导致解析错误 — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

请问如何使用命令模式,我也遇到了这个问题

spilledyear avatar Dec 27 '18 02:12 spilledyear