mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
driver/audiodec: don't encode utf8 to utf8
This commit is contained in:
@@ -36,6 +36,7 @@
|
||||
#include <configfile.h>
|
||||
#include <zapit/client/zapitclient.h>
|
||||
#include <zapit/client/zapittools.h>
|
||||
#include <eitd/edvbstring.h> // UTF8
|
||||
|
||||
#include <string>
|
||||
#include <list>
|
||||
@@ -569,9 +570,11 @@ struct SNeutrinoSettings
|
||||
int backlight_tv;
|
||||
int backlight_standby;
|
||||
int backlight_deepstandby;
|
||||
#define FILESYSTEM_ENCODING_TO_UTF8(a) (g_settings.filesystem_is_utf8 ? (a) : ZapitTools::Latin1_to_UTF8(a).c_str())
|
||||
//#define FILESYSTEM_ENCODING_TO_UTF8(a) (g_settings.filesystem_is_utf8 ? (a) : ZapitTools::Latin1_to_UTF8(a).c_str())
|
||||
#define FILESYSTEM_ENCODING_TO_UTF8(a) (isUTF8(a) ? (a) : ZapitTools::Latin1_to_UTF8(a).c_str())
|
||||
#define UTF8_TO_FILESYSTEM_ENCODING(a) (g_settings.filesystem_is_utf8 ? (a) : ZapitTools::UTF8_to_Latin1(a).c_str())
|
||||
#define FILESYSTEM_ENCODING_TO_UTF8_STRING(a) (g_settings.filesystem_is_utf8 ? (a) : ZapitTools::Latin1_to_UTF8(a))
|
||||
//#define FILESYSTEM_ENCODING_TO_UTF8_STRING(a) (g_settings.filesystem_is_utf8 ? (a) : ZapitTools::Latin1_to_UTF8(a))
|
||||
#define FILESYSTEM_ENCODING_TO_UTF8_STRING(a) (isUTF8(a) ? (a) : ZapitTools::Latin1_to_UTF8(a))
|
||||
|
||||
// pictureviewer
|
||||
char picviewer_slide_time[3];
|
||||
|
Reference in New Issue
Block a user