File: unicode.h

package info (click to toggle)
cconv 0.6.2-1.3
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,332 kB
  • sloc: cpp: 13,691; sh: 8,473; ansic: 758; makefile: 60
file content (22 lines) | stat: -rw-r--r-- 597 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * Copyright (C) 2008, 2009
 * Free Software Foundation, Inc.
 *
 * This program 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 2, or (at your option)
 * any later version.
 *
 * \author Yang Jianyu <xiaoyjy@hotmail.com>
 */

#ifndef _CCONV_UNICODE_H_
#define _CCONV_UNICODE_H_

extern int utf8_char_width (const unsigned char* w);

extern int utf8_char_encode(const unsigned char* w, int* c);
extern int utf8_char_decode(int unicode, unsigned char* utf);

#endif