Repository navigation
fix(ui): localize file dialog folders and handle UTF-8 selections - #6
Merged
Merged
Conversation
Register file selection messages, correct the Unicode buffer size, and add filesystem regressions under ACP 936 and 65001. Co-Authored-By: Codex <codex@openai.com>
This was referenced Oct 17, 2026
hzqst
marked this pull request as ready for review
October 17, 2026 08:41
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
File-dialog folder rows display the untranslated #FileOpenDialog_FileType_Folder token. Add English and Simplified Chinese translations, register the file-selection receiver, and pass the Unicode destination buffer size in bytes when loading the selected image.
Add filesystem regression tests under real process ACP 936 and 65001. Test-only manifests select the code page without changing system settings; unsupported OS/code-page combinations are reported as skipped. The cases cover Chinese and supplementary Unicode filenames, filenames exceeding 260 UTF-8 bytes, enumeration, recursive directory creation, attributes, working-directory conversion and error paths.
Depends on MetaHookSv/MetaHook#15 for the shared UTF-8/W API filesystem helper and file-dialog encoding/column-width fixes. Merge the SDK PR first, then refresh the SDK checkout used by standalone builds.
Validation:
Related to MetaHookSv/MetaHookSv#925 (BetterSpray file-dialog issues only).