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 |