2 * The UniCode Library -- UTF-8 Functions
4 * (c) 1997 Martin Mares <mj@ucw.cz>
6 * This software may be freely distributed and used according to the terms
7 * of the GNU Lesser General Public License.
11 #include "charset/unicode.h"
14 ucs2_to_utf8(byte *d, word *s)
28 utf8_to_ucs2(word *d, byte *s)
40 *d++ = UNI_REPLACEMENT;