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

如何传送emoji表情到手机输入法呀,大佬 #28

Open
zhucan3n opened this issue Jul 11, 2024 · 6 comments
Open

如何传送emoji表情到手机输入法呀,大佬 #28

zhucan3n opened this issue Jul 11, 2024 · 6 comments

Comments

@zhucan3n
Copy link

如何传送emoji表情到手机输入法呀,大佬

@zhucan3n
Copy link
Author

需要什么编码的文本?

@ysbing
Copy link
Owner

ysbing commented Jul 11, 2024

“你好😂”,这样就是emoji表情了,你参考下https://emojipedia.org/

@zhucan3n
Copy link
Author

这样是可以。但是我写在代码里面不知道用什么格式写。尝试了很多都输不进去

@ysbing
Copy link
Owner

ysbing commented Jul 11, 2024

你复制emoji到你代码里就知道了,可以的

@zhucan3n
Copy link
Author

不行哦,代码识别出问号。
是传入哪个编码?什么格式传入我试一下。
image

@ysbing
Copy link
Owner

ysbing commented Jul 11, 2024

utf-8编码,你用什么代码执行的命令,对应的控制台编码看看对不对

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

No branches or pull requests

2 participants