Android系统修改之展讯平台的Mms不能发送西班牙特殊字符ú的问题
作者:互联网
在测试中, 发现在发送短信的时候特殊字符ú不能发送, 但是输入框可以输入并正常显示, 查看代码之后, 发现是展讯在字符转换的时候出现的问题
frameworks/base/telephony/java/com/android/internal/telephony/GsmAlphabet.java
private static final String[] sUCS2Tables = {
"\u00E0\u00E1\u00E2\u00E3\u00E4\u00E5\u00E6\u0101\u01CE",
"\u00E7",
"\u00E8\u00E9\u00EA\u00EB\u0113\u011B",
"\u00EC\u00ED\u00EE\u00EF\u012B\u01D0",
"\u00F1\u0144\u0148",
"\u00F2\u00F3\u00F4\u00F5\u00F6\u014D\u01D2",
"\u0161",
// 此处 \u00FA 缺少 \
"\u00F9\u00FA\u00FB\u00FC\u016B\u01D4\u01D6\u01D8\u01DA\u01DC",
"\u00FD\u00FF",
"\u00C0\u00C1\u00C2\u00C3\u00C4\u00C5\u00C6",
"\u00C7",
"\u00C8\u00C9\u00CA\u00CB",
"\u00CC\u00CD\u00CE\u00CF",
"\u00D1",
"\u00D2\u00D3\u00D4\u00D5\u00D6",
"0x0160",
"\u00D9\u00DA\u00DB\u00DC",
"\u00DD\u0178",
};
该问题需要查看Mms的短信发送流程, 在WorkingMessage中.
标签:java,Mms,发送,telephony,之展,u00FA,Android,特殊字符 来源: https://www.cnblogs.com/firmly-believe/p/11548612.html