New issue
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
Problem to append extension when saving with filename in Korean #11582
Comments
8 버전 들어오면서 생긴 확장자 추가 기능에 버그를 고치면서 한글 IME와 문제가 생긴 것 같아요. 한자 입력 등 불필요한 상황에서도 엔터 이벤트가 항상 확장자를 뒤에 추가하고 있어요. Debug Information Notepad++ v8.3.2 (64-bit) Notepad++ v8.4 (64-bit) |
// Modifies the file name if necesary after user confirmed input.
// Called after the user input but before OnFileOk() and before any name validation.
void onPreFileOk() onPreFileOk is called before Korean IME ends its input. |
@80ROkWOC4j That's right. Any idea what's the condition should look like? |
Windows IME's letter composition ends after enter hook. |
This issue does not occur in Japanese IME #11912 (comment) |
Description of the Issue
If the filename is Korean (maybe multi-byte character set) when saving file,
the added file extension is incorrect.
The last character of filename is added to the following of the 'txt' extension.
Steps to Reproduce the Issue
Expected Behavior
In a saving dialog, the input filename is written by '한글' then the output filename is to be '한글.txt'.
Actual Behavior
Debug Information
Notepad++ v8.3.3 (64-bit)
Build time : Mar 13 2022 - 17:20:02
Path : C:\Program Files\Notepad++\notepad++.exe
Command Line :
Admin mode : ON
Local Conf mode : OFF
Cloud Config : OFF
OS Name : Windows 10 Pro (64-bit)
OS Version : 1909
OS Build : 18363.1500
Current ANSI codepage : 949
Plugins : DoxyIt.dll MarkdownViewerPlusPlus.dll mimeTools.dll NppConverter.dll NppExport.dll NppMarkdownPanel.dll Python Indent.dll
The text was updated successfully, but these errors were encountered: