/* * ntloader -- Microsoft Windows NT6+ loader * Copyright (C) 2025 A1ive. * * ntloader is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, * or (at your option) any later version. * * ntloader is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with ntloader. If not, see . */ #ifndef _CHARSET_H #define _CHARSET_H 1 #include #include uint16_t * utf8_to_ucs2 (uint16_t *dest, size_t destsize, const uint8_t *src); uint8_t * ucs2_to_utf8 (uint8_t *dest, const uint16_t *src, size_t size); #endif