home *** CD-ROM | disk | FTP | other *** search
/ PC User 2001 August / APC_Aug2001_CD2.iso / features / j2sdk / files / linux / j2sdklin.bin / jdk1.3.1 / include-old / utf.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-05-06  |  711 b   |  28 lines

  1. /*
  2.  * @(#)utf.h    1.12 00/02/02
  3.  *
  4.  * Copyright 1994-2000 Sun Microsystems, Inc. All Rights Reserved.
  5.  * 
  6.  * This software is the proprietary information of Sun Microsystems, Inc.  
  7.  * Use is subject to license terms.
  8.  * 
  9.  */
  10.  
  11. /*
  12.  * Prototypes for the various UTF support functions.
  13.  */
  14.  
  15. #ifndef _JAVASOFT_UTF_H_
  16. #define _JAVASOFT_UTF_H_
  17.  
  18. char *unicode2utf(unicode *unistring, int length, char *buffer, int buflength);
  19. int unicode2utfstrlen(unicode *unistring, int unilength);
  20. int utfstrlen(char *utfstring);
  21. void utf2unicode(char *utfstring, unicode *unistring, 
  22.         int max_length, int *lengthp);
  23. bool_t is_simple_utf(char *utfstring);
  24.  
  25. unicode next_utf2unicode(char **utfstring);
  26.  
  27. #endif /* !_JAVASOFT_UTF_H_ */
  28.