Nambers / MiraiCP

c++ SDK of Mirai

Home Page:https://eritque-arcus.tech/MiraiCP/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

如何发送Emoji表情?

jshintrc opened this issue · comments

e.group.SendMsg("\uD83D\uDE03");

我按照例子写的代码,直接就报错了EXCEPTION_UNCAUGHT_CXX_EXCEPTION (0xe06d7363) at pc=0x00007fff8c1f3b19, pid=8456, tid=13796

Desktop (please complete the following information): 描述本地运行环境

  • JavaVersion 16.0.1
  • MiraiVersion Mirai版本 [v2.6.3]

报错前日志看看?

// 监听群信息
procession->registerEvent([=](GroupMessageEvent e) {
e.group.SendMsg("\u0032\u20E3");
}

欸我是说打印在mcl/loader里的日志,你尽量看看有没有,如果没有就算了,我明天试一下复现
你可以先用qqface看看

A fatal error has been detected by the Java Runtime Environment:

EXCEPTION_UNCAUGHT_CXX_EXCEPTION (0xe06d7363) at pc=0x00007fff8c1f3b19, pid=8456, tid=13796

JRE version: Java(TM) SE Runtime Environment (16.0.1+9) (build 16.0.1+9-24)
Java VM: Java HotSpot(TM) 64-Bit Server VM (16.0.1+9-24, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
Problematic frame:
C [KERNELBASE.dll+0x43b19]

No core dump will be written. Minidumps are not enabled by default on client versions of Windows

An error report file with more information is saved as:
E:\mcl\hs_err_pid8456.log

If you would like to submit a bug report, please visit:
https://bugreport.java.com/bugreport/crash.jsp
The crash happened outside the Java Virtual Machine in native code.
See problematic frame for where to report the bug.

mcl 里面报错的信息, 如上!

是有这个问题,明天修
估计是utf8转码之类的问题

已修复,在下一个版本附加上