diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2008-05-02 14:29:49 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2008-05-02 14:29:49 +0200 |
commit | 7c924aa664b5545616eab1473c93fa46c0cdef5b (patch) | |
tree | f006a17fa4aa017910c95e615ac752b763b37914 | |
parent | a8478802a3f754a3d6f18b922bf4c78096c7737c (diff) | |
download | vdr-7c924aa664b5545616eab1473c93fa46c0cdef5b.tar.gz vdr-7c924aa664b5545616eab1473c93fa46c0cdef5b.tar.bz2 |
The SVDRP signon message now indicates the character encoding in use
-rw-r--r-- | HISTORY | 6 | ||||
-rw-r--r-- | svdrp.c | 4 |
2 files changed, 7 insertions, 3 deletions
@@ -5741,6 +5741,10 @@ Video Disk Recorder Revision History - Increased the time between checking the CAM status to 500ms to avoid problems with some CAMs (reported by Arthur Konovalov). -2008-04-19: Version 1.6.0-2 +2008-05-02: Version 1.6.0-2 - Updated the Italian OSD texts (thanks to Diego Pierotto). +- The SVDRP signon message now indicates the character encoding in use, as in + "220 video SVDRP VideoDiskRecorder 1.7.1; Fri May 2 16:17:10 2008; ISO-8859-1". + This may be useful for instance for external tools that provide EPG data, so that + they can correctly encode the strings. @@ -10,7 +10,7 @@ * and interact with the Video Disk Recorder - or write a full featured * graphical interface that sits on top of an SVDRP connection. * - * $Id: svdrp.c 1.109 2008/02/17 13:36:01 kls Exp $ + * $Id: svdrp.c 1.109.1.1 2008/05/02 14:29:16 kls Exp $ */ #include "svdrp.h" @@ -1606,7 +1606,7 @@ bool cSVDRP::Process(void) char buffer[BUFSIZ]; gethostname(buffer, sizeof(buffer)); time_t now = time(NULL); - Reply(220, "%s SVDRP VideoDiskRecorder %s; %s", buffer, VDRVERSION, *TimeToString(now)); + Reply(220, "%s SVDRP VideoDiskRecorder %s; %s; %s", buffer, VDRVERSION, *TimeToString(now), cCharSetConv::SystemCharacterTable() ? cCharSetConv::SystemCharacterTable() : "UTF-8"); } if (NewConnection) lastActivity = time(NULL); |