发明授权
- 专利标题: Code conversion
-
申请号: US16246736申请日: 2019-01-14
-
公开(公告)号: US10461772B1公开(公告)日: 2019-10-29
- 发明人: Jiangang Deng , Patrick Leo Glenski , He Lei Liu , Xiao Ling Chen , Zi Wen Zhang , Jiang Yi Liu , Yan Huang
- 申请人: INTERNATIONAL BUSINESS MACHINES CORPORATION
- 申请人地址: US NY Armonk
- 专利权人: INTERNATIONAL BUSINESS MACHINES CORPORATION
- 当前专利权人: INTERNATIONAL BUSINESS MACHINES CORPORATION
- 当前专利权人地址: US NY Armonk
- 代理机构: Cantor Colburn LLP
- 代理商 William Kinnaman
- 主分类号: H03M7/14
- IPC分类号: H03M7/14 ; G06F17/22 ; H03M7/30
摘要:
Methods of code conversion are provided. Aspects include obtaining a first code point from a source data string in a first character encoding, wherein the source data string is to be converted to a target data string in a second character encoding. A target code point corresponding to the first code point is looked up in a map table, wherein the target code point is in the second character encoding. It is determined whether the first code point is a first combining character in response to receiving a lookup failure generated from the looking up operation. A combination unit having the first combining character and a base character next to the first combining character in the source data string is identified in response to determining that the first code point is the first combining character. The combination unit is converted to a substitute character in the target data string.
信息查询