From d8d65c7536c2569854483cb8af7cdc94afea9b44 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Wed, 23 Dec 2009 15:25:05 +0100 Subject: Modified cCharSetConv so that it can be used to convert from "whatever VDR uses" to a given code --- tools.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tools.h') diff --git a/tools.h b/tools.h index 4fbb27fb..95c35ff3 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 2.3 2009/12/06 11:24:12 kls Exp $ + * $Id: tools.h 2.4 2009/12/23 15:14:39 kls Exp $ */ #ifndef __TOOLS_H @@ -142,7 +142,8 @@ private: public: cCharSetConv(const char *FromCode = NULL, const char *ToCode = NULL); ///< Sets up a character set converter to convert from FromCode to ToCode. - ///< If FromCode is NULL, the previously set systemCharacterTable is used. + ///< If FromCode is NULL, the previously set systemCharacterTable is used + ///< (or "UTF-8" if no systemCharacterTable has been set). ///< If ToCode is NULL, "UTF-8" is used. ~cCharSetConv(); const char *Convert(const char *From, char *To = NULL, size_t ToLength = 0); -- cgit v1.2.3