17 #if !defined(OPENNURBS_UNICODE_INC_)
18 #define OPENNURBS_UNICODE_INC_
94 int ON_IsValidUnicodeCodePoint( ON__UINT32 u );
126 int ON_EncodeUTF8( ON__UINT32 u, ON__UINT8 sUTF8[6] );
155 const ON__UINT8* sUTF8,
158 ON__UINT32* unicode_code_point
185 int ON_EncodeUTF16( ON__UINT32 unicode_code_point, ON__UINT16 sUTF16[2] );
214 const ON__UINT16* sUTF16,
217 ON__UINT32* unicode_code_point
248 int ON_DecodeSwapByteUTF16(
249 const ON__UINT16* sUTF16,
252 ON__UINT32* unicode_code_point
343 int ON_ConvertUTF8ToUTF16(
344 const ON__UINT8* sUTF8,
348 unsigned int* error_status,
349 unsigned int error_mask,
350 ON__UINT32 error_code_point,
351 const ON__UINT8** sNextUTF8
443 int ON_ConvertUTF8ToUTF32(
444 const ON__UINT8* sUTF8,
448 unsigned int* error_status,
449 unsigned int error_mask,
450 ON__UINT32 error_code_point,
451 const ON__UINT8** sNextUTF8
555 int ON_ConvertUTF16ToUTF8(
557 const ON__UINT16* sUTF16,
561 unsigned int* error_status,
562 unsigned int error_mask,
563 ON__UINT32 error_code_point,
564 const ON__UINT16** sNextUTF16
669 int ON_ConvertUTF16ToUTF32(
671 const ON__UINT16* sUTF16,
673 unsigned int* sUTF32,
675 unsigned int* error_status,
676 unsigned int error_mask,
677 ON__UINT32 error_code_point,
678 const ON__UINT16** sNextUTF16
788 int ON_ConvertUTF32ToUTF8(
790 const ON__UINT32* sUTF32,
794 unsigned int* error_status,
795 unsigned int error_mask,
796 ON__UINT32 error_code_point,
797 const ON__UINT32** sNextUTF32
907 int ON_ConvertUTF32ToUTF16(
909 const ON__UINT32* sUTF32,
913 unsigned int* error_status,
914 unsigned int error_mask,
915 ON__UINT32 error_code_point,
916 const ON__UINT32** sNextUTF32
1028 int ON_ConvertWideCharToUTF8(
1030 const wchar_t* sWideChar,
1031 int sWideChar_count,
1034 unsigned int* error_status,
1035 unsigned int error_mask,
1036 ON__UINT32 error_code_point,
1037 const wchar_t** sNextWideChar
1136 int ON_ConvertUTF8ToWideChar(
1140 int sWideChar_count,
1141 unsigned int* error_status,
1142 unsigned int error_mask,
1143 ON__UINT32 error_code_point,
1144 const char** sNextUTF8
unsigned int m_error_status
unsigned int m_error_mask
ON__UINT32 m_error_code_point