1
/* The code in this module was taken from:
5
* Native language support--charsets and unicode translations.
6
* By Gordon Chaffee 1996, 1997
11
#ifndef _UNICODE_TO_UTF8_H
12
#define _UNICODE_TO_UTF8_H
14
#include "jfs_types.h"
16
int Unicode_Character_to_UTF8_Character(uint8_t *s, uint16_t wc, int maxlen);
18
int Unicode_String_to_UTF8_String(uint8_t *s, const uint16_t *pwcs, int maxlen);
20
int UTF8_String_To_Unicode_String(uint16_t *pwcs, const uint8_t *s, int maxLen);
22
int UTF8_Character_To_Unicode_Character(uint16_t *p, const uint8_t *s, int maxLen);