Andrzej Rybczak
|
a9bee35cca
|
charset: put functions into namespace and change naming convention
|
14 years ago |
Andrzej Rybczak
|
c8097a898e
|
get rid of locale_to_utf where it's not needed anymore
|
14 years ago |
Andrzej Rybczak
|
f8151904f5
|
update copyright dates
|
14 years ago |
Andrzej Rybczak
|
ca956c3da3
|
update copyright dates
|
15 years ago |
Andrzej Rybczak
|
b387d22663
|
lyrics: add support for lyricstime.com, metrolyrics.com and lyricsmania.com
|
16 years ago |
Damien Leone
|
331107387c
|
charset: use free() instead of delete[] to release memory allocated by strdup()
|
16 years ago |
Andrzej Rybczak
|
08daa61907
|
update copyright notices
|
16 years ago |
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.
|
16 years ago |
Andrzej Rybczak
|
bdc65ead7a
|
merge char_non_ascii() into has_non_ascii_chars()
|
16 years ago |
Andrzej Rybczak
|
de6db568c1
|
fix broken compilation due to lack of setters for mpd_song
|
17 years ago |
Andrzej Rybczak
|
5866cd6343
|
if iconv conversion failed, restore input buffer to its initial state
|
17 years ago |
Andrzej Rybczak
|
e99b1c63e9
|
fix very nasty bug that could cause billion of segfaults
|
17 years ago |
Andrzej Rybczak
|
04f822b44a
|
fix very nasty bug that could cause billion of segfaults
|
17 years ago |
Andrzej Rybczak
|
66d4883728
|
fix compilation --with-iconv
|
17 years ago |
Andrzej Rybczak
|
209f5337ee
|
make str_pool return const char * instead of char *
|
17 years ago |
Andrzej Rybczak
|
9dab25e02c
|
use prefix ++ instead of postfix where available
|
17 years ago |
Andrzej Rybczak
|
ecd4c8cc17
|
get rid of C style casts
|
17 years ago |
Andrzej Rybczak
|
88c37b581d
|
do not zero allocated space, just append null character at the end of string
|
17 years ago |
Andrzej Rybczak
|
25f0b4fabc
|
pass to iconv "utf-8" as name of utf8 encoding instead of "utf8"
it seems win32 libiconv doesn't support utf8.
|
17 years ago |
Andrzej Rybczak
|
dd471ef1c6
|
handle iconv() function that takes const char ** instead of char **
|
17 years ago |
Andrzej Rybczak
|
343f778256
|
disable detecting currently used encoding as it's extremely ugly
|
17 years ago |
Andrzej Rybczak
|
b2317df843
|
provide file with locales and corresponding encodings
|
17 years ago |
Andrzej Rybczak
|
09ea91e548
|
check if setlocale() returns NULL
|
17 years ago |
Andrzej Rybczak
|
865385e309
|
if locale are set to C, do not do encoding convertion
|
17 years ago |
Andrzej Rybczak
|
5b5d33c642
|
check if s and locale_charset ptrs are NULL before conversion
|
17 years ago |
Andrzej Rybczak
|
fd5a3e142c
|
do not exclude iconv support if unicode is enabled
|
17 years ago |
Andrzej Rybczak
|
7d82da3fed
|
remove static keyword from char_non_ascii() declaration
|
17 years ago |
Andrzej Rybczak
|
0c9e10091f
|
update fsf address and copyright info
|
17 years ago |
Andrzej Rybczak
|
24c308dac8
|
convert filenames to current locale if needed / some implementation improvements
|
17 years ago |
Andrzej Rybczak
|
11b18b95e5
|
use setlocale() instead of getenv() for determining locale
|
17 years ago |
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.
|
17 years ago |
Andrzej Rybczak
|
0d9aea79c2
|
convert id3 tags, directories and playlist names to current locale if needed
notice: this feature needs unicode disabled.
|
17 years ago |