Rizin
unix-like reverse engineering framework and cli tools
cutf8.c File Reference
#include <rz_cons.h>
#include <rz_windows.h>

Go to the source code of this file.

Functions

RZ_API bool rz_cons_is_utf8 (void)
 

Function Documentation

◆ rz_cons_is_utf8()

RZ_API bool rz_cons_is_utf8 ( void  )

Definition at line 242 of file cutf8.c.

242  {
243 #if __WINDOWS__
244  return GetConsoleOutputCP() == CP_UTF8;
245 #else
246  return true;
247 #endif
248 }

Referenced by rz_core_config_init().