Repository: BYVoid/OpenCC (2026-06-22T15:40:35Z)

Issue:
妆「发」 incorrectly translated to 妝「發」
Should be 妝「髮」


Discussion:

Patch:
diff --git a/data/dictionary/STPhrases.txt b/data/dictionary/STPhrases.txt
index 32d361f88..8ec476c76 100644
--- a/data/dictionary/STPhrases.txt
+++ b/data/dictionary/STPhrases.txt
@@ -18112,6 +18112,7 @@
 如饥如渴	如飢如渴
 妄念	妄念
 妄想症	妄想症
+妆发	妝髮
 妆台	妝臺
 妇人生须	婦人生鬚
 妇女团体	婦女團體


Test patch:
diff --git a/test/testcases/testcases.json b/test/testcases/testcases.json
index 5d77d0f51..d3273b210 100755
--- a/test/testcases/testcases.json
+++ b/test/testcases/testcases.json
@@ -726,6 +726,16 @@
         "tw2sp": "宏定义、宏展开、宏调用、宏替换、宏命令、宏语言、宏处理、宏函数、宏指令和宏编程"
       }
     },
+    {
+      "id": "BYVoid_OpenCC_Issue_585",
+      "input": "妆发",
+      "expected": {
+        "s2t": "妝髮",
+        "s2tw": "妝髮",
+        "s2twp": "妝髮",
+        "s2hk": "妝髮"
+      }
+    },
     {
       "id": "BYVoid_OpenCC_Issue_582",
       "input": "倒霉",