Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

Android例子中调用的call_tcx_api传入的hex编码,我转换成string为什么会有乱码? #98

Open
aihjq520 opened this issue May 20, 2021 · 0 comments

Comments

@aihjq520
Copy link

在Android例子中调用的call_tcx_api,传入的hex编码:
0a0f68645f73746f72655f63726561746512230a07696d746f6b656e12180a11496e7365637572652050613535773072641a03616161
转换成string是:

�hd_store_create�#
�imtoken��
�Insecure Pa55w0rd��aaa

程序没有问题,但是这个格式为什么是这样的?而且我自己写的转为hex编码格式函数程序会闪退,我要用什么方法才能转为例子的格式?希望得到一个回复。

编译环境:ubuntu18

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant