收藏
回答

获取微信的用户信息,头像中有部分emoji表情不正常返回

框架类型 问题类型 API/组件名称 终端类型 微信版本 基础库版本
小程序 Bug wx.getUserInfo 客户端 6.7 最新

- 当前 Bug 的表现(可附上截图)

{"nickName":" 阿炳perro","gender":1,"language":"zh_CN","city":"Minhang","province":"Shanghai","country":"China","avatarUrl":"https://wx.qlogo.cn/mmopen/vi_32/YoicmcnycrJxnNrgZoKlfuY3KiaIS2VeibmLLAaOwUrIxDticoiatmNRc4bZQf1cTiafCjS3viba1WNNNGIN4tXCgjxiag/132"}&rawData={"nickName":" 阿炳perro","gender":1,"language":"zh_CN","city":"Minhang","province":"Shanghai","country":"China","avatarUrl":"https://wx.qlogo.cn/mmopen/vi_32/YoicmcnycrJxnNrgZoKlfuY3KiaIS2VeibmLLAaOwUrIxDticoiatmNRc4bZQf1cTiafCjS3viba1WNNNGIN4tXCgjxiag/132"}

- 预期表现

{"nickName":"👻阿炳perro🐬","gender":1,"language":"zh_CN","city":"Minhang","province":"Shanghai","country":"China","avatarUrl":"https://wx.qlogo.cn/mmopen/vi_32/YoicmcnycrJxnNrgZoKlfuY3KiaIS2VeibmLLAaOwUrIxDticoiatmNRc4bZQf1cTiafCjS3viba1WNNNGIN4tXCgjxiag/132"}&rawData={"nickName":" 阿炳perro","gender":1,"language":"zh_CN","city":"Minhang","province":"Shanghai","country":"China","avatarUrl":"https://wx.qlogo.cn/mmopen/vi_32/YoicmcnycrJxnNrgZoKlfuY3KiaIS2VeibmLLAaOwUrIxDticoiatmNRc4bZQf1cTiafCjS3viba1WNNNGIN4tXCgjxiag/132"}

- 复现路径

获取有emoji图标的用户昵称,部分会有问题

- 提供一个最简复现 Demo


回答关注问题邀请回答
收藏

5 个回答

登录 后发表内容