diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2009-12-23 15:25:05 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2009-12-23 15:25:05 +0100 |
commit | d8d65c7536c2569854483cb8af7cdc94afea9b44 (patch) | |
tree | 5c178f30b88e2e88a4b9c2a5028950ebd38b6818 /tools.h | |
parent | 1bb58100b0de6ac7196d402b0f85d96f0c974af8 (diff) | |
download | vdr-d8d65c7536c2569854483cb8af7cdc94afea9b44.tar.gz vdr-d8d65c7536c2569854483cb8af7cdc94afea9b44.tar.bz2 |
Modified cCharSetConv so that it can be used to convert from "whatever VDR uses" to a given code
Diffstat (limited to 'tools.h')
-rw-r--r-- | tools.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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); |