mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-13 02:42:09 +02:00
4fa3ca98a2
We can't use RegGetValueA because RegGetValueA converts wide string to non UTF-8 string, which results in crashing when printing
12 lines
231 B
C
12 lines
231 B
C
#pragma once
|
|
|
|
#ifndef FASTFETCH_INCLUDED_UNICODE_H
|
|
#define FASTFETCH_INCLUDED_UNICODE_H
|
|
|
|
#include "fastfetch.h"
|
|
|
|
void ffWcharToUtf8(const wchar_t* input, FFstrbuf* result);
|
|
FFstrbuf ffStrbufFromWchar(const wchar_t* input);
|
|
|
|
#endif
|