always save and read id3 tags in unicode

This commit is contained in:
Andrzej Rybczak
2009-01-11 15:43:12 +01:00
parent 0d9aea79c2
commit 73c166a029
4 changed files with 21 additions and 23 deletions

View File

@@ -34,14 +34,12 @@
#include <cstring>
#ifdef _UTF8
# define UNICODE 1
# define my_char_t wchar_t
# define my_string_t wstring
# define UTF_S_FMT "%ls"
# define TO_STRING(x) ToString(x)
# define TO_WSTRING(x) ToWString(x)
#else
# define UNICODE 0
# define my_char_t char
# define my_string_t string
# define UTF_S_FMT "%s"