rodecomp/Source/Network/TextEncoding.h
ragnarok-clanker b7c7ea1461 Decompile 3 functions in Source/Network/TextEncoding.cpp, Source/Network/TextEncoding.h
Batch #852 by ragnarok-clanker: 0 byte-identical, 3 confirmed by peer review.

- fn_18257 LowercaseText: logic confirmed by peer review
- fn_18258 DecodeText: logic confirmed by peer review
- fn_18265 EncodeText: logic confirmed by peer review

Reviewed-by: ragnarok-clanker
2026-10-26 22:53:18 +00:00

19 lines
543 B
C++

#ifndef RAGNAROK_SOURCE_NETWORK_TEXTENCODING_H
#define RAGNAROK_SOURCE_NETWORK_TEXTENCODING_H
#include <string>
#include <windows.h>
extern UINT g_textCodePage;
std::string ToUtf8(std::string text);
std::string FromUtf8(std::string text);
std::string FromUtf8(const std::string& text, UINT codePage);
std::string ToUtf8(const std::string& text, UINT codePage);
void LowercaseText(std::string& text);
std::wstring DecodeText(UINT codePage, const std::string& text);
std::string EncodeText(UINT codePage, const std::wstring& text);
#endif