Andrzej Rybczak
|
b387d22663
|
lyrics: add support for lyricstime.com, metrolyrics.com and lyricsmania.com
|
2010-08-10 19:53:44 +02:00 |
|
Damien Leone
|
331107387c
|
charset: use free() instead of delete[] to release memory allocated by strdup()
|
2010-03-04 01:53:58 +01:00 |
|
Andrzej Rybczak
|
08daa61907
|
update copyright notices
|
2010-01-30 16:24:24 +01:00 |
|
Andrzej Rybczak
|
934efd5383
|
do not try to convert to utf8 strings that are already encoded in it
such case may happen if conversion from utf8 to current locale fails.
|
2009-12-24 00:53:53 +01:00 |
|
Andrzej Rybczak
|
bdc65ead7a
|
merge char_non_ascii() into has_non_ascii_chars()
|
2009-12-23 23:46:41 +01:00 |
|
Andrzej Rybczak
|
de6db568c1
|
fix broken compilation due to lack of setters for mpd_song
|
2009-10-04 16:10:37 +02:00 |
|
Andrzej Rybczak
|
04f822b44a
|
fix very nasty bug that could cause billion of segfaults
|
2009-09-23 03:31:39 +02:00 |
|
Andrzej Rybczak
|
66d4883728
|
fix compilation --with-iconv
|
2009-09-23 02:45:48 +02:00 |
|
Andrzej Rybczak
|
209f5337ee
|
make str_pool return const char * instead of char *
|
2009-07-10 14:44:20 +02:00 |
|
Andrzej Rybczak
|
9dab25e02c
|
use prefix ++ instead of postfix where available
|
2009-07-04 06:41:35 +02:00 |
|
Andrzej Rybczak
|
ecd4c8cc17
|
get rid of C style casts
|
2009-05-21 23:51:56 +02:00 |
|
Andrzej Rybczak
|
88c37b581d
|
do not zero allocated space, just append null character at the end of string
|
2009-03-27 14:47:18 +01:00 |
|
Andrzej Rybczak
|
25f0b4fabc
|
pass to iconv "utf-8" as name of utf8 encoding instead of "utf8"
it seems win32 libiconv doesn't support utf8.
|
2009-03-26 21:02:38 +01:00 |
|
Andrzej Rybczak
|
dd471ef1c6
|
handle iconv() function that takes const char ** instead of char **
|
2009-03-26 18:37:47 +01:00 |
|
Andrzej Rybczak
|
343f778256
|
disable detecting currently used encoding as it's extremely ugly
|
2009-03-26 17:00:00 +01:00 |
|
Andrzej Rybczak
|
b2317df843
|
provide file with locales and corresponding encodings
|
2009-03-20 20:33:35 +01:00 |
|
Andrzej Rybczak
|
09ea91e548
|
check if setlocale() returns NULL
|
2009-03-08 15:55:41 +01:00 |
|
Andrzej Rybczak
|
865385e309
|
if locale are set to C, do not do encoding convertion
|
2009-01-30 15:27:35 +01:00 |
|
Andrzej Rybczak
|
5b5d33c642
|
check if s and locale_charset ptrs are NULL before conversion
|
2009-01-27 00:07:50 +01:00 |
|
Andrzej Rybczak
|
fd5a3e142c
|
do not exclude iconv support if unicode is enabled
|
2009-01-17 14:10:44 +01:00 |
|
Andrzej Rybczak
|
7d82da3fed
|
remove static keyword from char_non_ascii() declaration
|
2009-01-17 12:04:36 +01:00 |
|
Andrzej Rybczak
|
0c9e10091f
|
update fsf address and copyright info
|
2009-01-17 00:52:08 +01:00 |
|
Andrzej Rybczak
|
24c308dac8
|
convert filenames to current locale if needed / some implementation improvements
|
2009-01-15 20:34:35 +01:00 |
|
Andrzej Rybczak
|
11b18b95e5
|
use setlocale() instead of getenv() for determining locale
|
2009-01-12 08:35:02 +01:00 |
|
Max Kellermann
|
67b8ca70fa
|
charset: fix portability for unsigned chars
On some platforms, char is unsigned, and the "non_ascii" check "ch <
0" does not work. Fix that by checking if the highest bit is set.
|
2009-01-11 17:24:15 +01:00 |
|
Andrzej Rybczak
|
0d9aea79c2
|
convert id3 tags, directories and playlist names to current locale if needed
notice: this feature needs unicode disabled.
|
2009-01-11 15:36:14 +01:00 |
|