We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
【Chinese】 步骤: 1、打开366MB的test1.csv文件 2、打开“大文件模式” 3、选中其中的大部分行 4、按下Alt+D重复数据 5、再次按下Alt+D重复数据 6、另存为文件test2.csv 然后发现test2.csv为0KB。 另一个问题,打开991MB的文件会发生闪退。
【English from Google Translate】 Steps:
【구글 번역에서 한국어】 단계:
The text was updated successfully, but these errors were encountered:
我测试了打开1GB的HTML文件不会闪退。再选择一些文本,按Alt+D重复几次,再按Ctrl+S保存没问题,保存后文件大小来到1.7GB。notepad4.exe 进程占用的内存来到4.4GB左右,没有崩溃。再次打开这个大文件,也能正常打开。看起来是csv语法高亮解析出的问题。
Sorry, something went wrong.
I can't reproduce the bug (repeated Ctrl + D multiple times) use large CSV (222MB from issue #236) on a 16GB Win11.
Use different threshold for large file and encoding conversion, avoid…
6958ad0
… encoding converting for file larger then 1GB to prevent failure, issue #972.
Should be fixed by commit 6958ad0, please test latest build from https://github.com/zufuliu/notepad4/actions.
Inside EditSaveFile() function, convert text from UTF-8 to UTF-16 failed (cbDataWide is zero) when text (cbData) is longer than 1GB:
EditSaveFile()
cbDataWide
cbData
notepad4/src/Edit.cpp
Lines 1266 to 1267 in 6958ad0
Current workaround: disable load ANSI as UTF-8 on File -> Encoding -> Default:
No branches or pull requests
【Chinese】
步骤:
1、打开366MB的test1.csv文件
2、打开“大文件模式”
3、选中其中的大部分行
4、按下Alt+D重复数据
5、再次按下Alt+D重复数据
6、另存为文件test2.csv
然后发现test2.csv为0KB。
另一个问题,打开991MB的文件会发生闪退。
【English from Google Translate】
Steps:
Then find that test2.csv is 0KB.
Another issue is that opening a 991MB file will cause a crash.
【구글 번역에서 한국어】
단계:
그러다가 test2.csv가 0KB인 것을 발견했습니다.
또 다른 문제는 991MB 파일을 열면 충돌이 발생한다는 것입니다.
The text was updated successfully, but these errors were encountered: