(self, root)
| 177 | |
| 178 | |
| 179 | def getCharEncode(self, root): |
| 180 | nunbers = ['①', '②', '③', '④', '⑤', '⑥', '⑦', '⑧', '⑨', '⑩'] |
| 181 | i = 0 |
| 182 | result = root + ':' |
| 183 | for chardef in self.chardefs: |
| 184 | for char in self.chardefs[chardef]: |
| 185 | if char == root: |
| 186 | result += ' ' + nunbers[i] |
| 187 | if i < 9: |
| 188 | i = i + 1 |
| 189 | for str in chardef: |
| 190 | result += self.getKeyName(str) |
| 191 | |
| 192 | if result == root + ':': |
| 193 | result = '查無字根...' |
| 194 | return result |
| 195 | |
| 196 | |
| 197 | def updateCinTable(self, userExtendTable, priorityExtendTable, extendtable, ignorePrivateUseArea): |
no test coverage detected