Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant