Repository navigation
Conversation
The go copy of 喵喵輸入法 declared locale zh-Hans-CN with fallbackLocale zh-CN, so DllRegisterServer registered it under zh-Hans (LANGID 0x0804) while the node and python twins register the same IME under zh-TW (0x0404). The pair came in whole with 0128f36 (PR EasyIME#873), copied from the go rime manifest; nothing in that PR's thread, the reporter census, or the IME itself carries a Simplified orientation — it emits only 喵 and its display name is Traditional. Template-copy contamination, so flip both fields to the twins' pair, as EasyIME#481 did for rime. Architecture and design by asdf80730. Implementation generated with AI assistance from omp (tensorfold/Qwen3.8-Flash-Next).
Contributor
Author
|
Hi — the first workflow run on this fork PR is waiting for a maintainer approval (run 41108272365 reports 0 jobs started). Could someone approve it so (Comment generated with AI assistance from omp (tensorfold/Qwen3.8-Flash-Next)) |
This branch has not been deployed
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.
The go copy of 喵喵輸入法 registers under Simplified Chinese:
ime.jsondeclares
zh-Hans-CNwith fallbackzh-CN, soDllRegisterServerfilesthe IME under zh-Hans (LANGID 0x0804) while the node and python copies of
the very same IME register under zh-TW (0x0404).
The pair arrived whole in
0128f36(PR #873), copied from the go rimemanifest — the same defective pair #481 reported for rime, which #1021
already flipped there. Nothing in that PR's thread, the reporter census,
or the IME itself indicates a Simplified orientation: the method emits
only 喵 and its display name (喵喵輸入法 (Go版)) is Traditional, so the
declaration is template-copy contamination.
Validation:
tests/test_rime_registration_locale.py(local harness, deliberately not carried by this PR) was red before the
flip — 4 failures, including kernel32 answering 2052 != 1028 for the go
copy and twins declaring 2 != 1 locale pairs — and is green after:
Ran 3 tests, OK, run today on
python/python3/python.exeagainst theintegration tree carrying these exact two field flips.
→ ok 0.149s (Go 1.25.14, windows/arm64).
GOOS=windows GOARCH=386 with go build ./input_methods/meow.
Door: two-way — reverting the two lines restores the old registration,
and the blast radius is the go 喵喵's language-bar entry after the DLL is
re-registered; the node and python copies are untouched.
Architecture and design by asdf80730. Implementation generated with AI assistance from omp (tensorfold/Qwen3.8-Flash-Next).