Windows Phone 8.1中未显示某些表情符号字符

时间:2015-11-25 12:24:27

标签: xaml silverlight windows-phone-8.1 textblock emoji

我正在开发一个WP消息传递应用程序,它将接收来自其他其他客户端的消息。

我正面临显示从应用程序的iPhone版本发送的表情符号的问题。

例如:我在 public class CustomerList extends BaseAdapter { private String[] name; private String[] mobile_no; private Activity context; private LayoutInflater inflater; public CustomerList(Activity context,String[] name, String[] mobile_no) { this.context =context; this.name= name; this.mobile_no = mobile_no; this.inflater = context.getLayoutInflater(); } @Override public int getCount() { return name.length; } @Override public Object getItem(int position) { return name[position]; } @Override public long getItemId(int position) { return position; } @Override public View getView(int position, View convertView, ViewGroup parent) { ViewHolder holder; if(convertView==null){ holder = new ViewHolder(); View convertView = inflater.inflate(R.layout.spinner_customer, null); holder.textViewName = (TextView) convertView.findViewById(R.id.tv_custNames); holder.textViewContact = (TextView) convertView.findViewById(R.id.tv_custPh); convertView.setTag(holder); }else{ holder = (ViewHolder)convertView.getTag(); } holder.textViewName.setText(name[position]); holder.textViewContact.setText(mobile_no[position]); return convertView; } class ViewHolder{ TextView textViewName,textViewContact; } } (utf8)我的应用中收到以下消息。它的渲染如下。 enter image description here

WP Whatsapp中正确地重新发送了相同的文字。

enter image description here

我正在使用来显示消息。我也尝试了RichTextBox,但它也提供了相同的输出。

还尝试了此SO答案中建议的选项。在silverlight和WinRt中尝试过运气。但我仍然得到了这个问题。

如何才能正常显示(如whatsapp)?

我希望有人能告诉我whatsapp如何显示此文本。

提前致谢。

0 个答案:

没有答案
相关问题