summaryrefslogtreecommitdiff
path: root/tools.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2007-06-15 12:24:06 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2007-06-15 12:24:06 +0200
commit3224fffe8751732ec3304d8f540e832929933f27 (patch)
treee3711af3cc5769aeec6d6bf612da1f5f515fba94 /tools.h
parent824b974b812903dea368f3a1b8ba70a40cdc96f7 (diff)
downloadvdr-3224fffe8751732ec3304d8f540e832929933f27.tar.gz
vdr-3224fffe8751732ec3304d8f540e832929933f27.tar.bz2
Implemented UTF-8 handling in skincurses
Diffstat (limited to 'tools.h')
-rw-r--r--tools.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/tools.h b/tools.h
index 5d048076..3256c352 100644
--- a/tools.h
+++ b/tools.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: tools.h 1.98 2007/06/10 08:46:23 kls Exp $
+ * $Id: tools.h 1.99 2007/06/15 12:18:37 kls Exp $
*/
#ifndef __TOOLS_H
@@ -92,7 +92,10 @@ int Utf8CharSet(uint c, char *s = NULL);
///< is given, only the number of bytes is returned and nothing is copied.
int Utf8SymChars(const char *s, int Symbols);
///< Returns the number of character bytes at the beginning of the given
- ///< string that form at most the given number of UTF-8 Symbols.
+ ///< string that form at most the given number of UTF-8 symbols.
+int Utf8NumSyms(const char *s);
+ ///< Returns the number of UTF-8 symbols formed by the given string of
+ ///< character bytes.
int Utf8ToArray(const char *s, uint *a, int Size);
///< Converts the given character bytes (including the terminating 0) into an
///< array of UTF-8 symbols of the given Size. Returns the number of symbols