在UCWA中发送/接收日语消息 [英] Sending/receiving Japanese message in UCWA

查看:157
本文介绍了在UCWA中发送/接收日语消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我从UCWA应用程序向Lync客户端发送日语消息,则Lync客户端会成功显示日语文本。

If I send Japanese message from UCWA application to Lync client then Lync client shows the Japanese text successfully.

但是当我从Lync客户端向UCWA发送日语消息时,UCWA应用程序显示垃圾值而不是日文文本。

But when I send Japanese message from Lync client to UCWA then, the UCWA application shows garbage value instead of Japanese text.

我想在2个UCWA应用程序之间发送/接收日文文本以及从UCWA应用程序到Lync客户端。

I want to send/receive Japanese text between 2 UCWA application as well as from UCWA application to Lync client.

有可能吗?如果是,请告诉我解决方案。

Is it possible? If yes plz let me know the solution.

Plz回复asap。

Plz reply asap.

谢谢

Deblina

推荐答案

解码Unicode值需要一点点技巧和不正确的解码可能导致垃圾,如:

Decoding a Unicode value takes a bit of finesse and improper decoding can result in garbage such as:

原值 - 嶣ぢゅ椯れ

unescape(...) - 嶣 ã¢,...椯ã,Œ

decodeURI(...) - 嶣ぢゅ椯れ

Original value - 嶣ぢゅ 椯れ
unescape(...) - 嶣ぢゅ 椯れ
decodeURI(...) - 嶣ぢゅ 椯れ

使用decodeURI'应'修复解码正确的字符串假设HTML页面上也有正确的元标记:

Using decodeURI 'should' fix decoding of the string properly assuming the a proper meta tag is available on the HTML page as well:

< meta charset =" UTF-8">

<meta charset="UTF-8">


这篇关于在UCWA中发送/接收日语消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆