search for: charset_convert

Displaying 5 results from an estimated 5 matches for "charset_convert".

2008 Feb 26
0
Squirrelmail Problem on CentOS 4.4
Well, easy to solve for non-japaneses find /usr/share/squirremail/functions/mime.php if (!$charset_converted) {... <<< line 316 ... } <<< line 323 and do this (comment it out) /* if (!$charset_converted) {... <<< line 316 ... } <<< line 323 */ Dont know if we run in trouble if we get a japanese cha...
2007 May 16
1
Squirrelmail Problem on CentOS 4.4
...Sendmail/Dovecot and have been on this server since CentOS 4 came out. This could be any of so many things from PHP to IMAP, but mostly it seems to be some pathing problem.. just not sure where to begin. The only thing I am finding in apache error logs is this: PHP Notice: Undefined variable: charset_converted in /usr/share/squirrelmail/functions/mime.php on line 316, referer: http://domain_name_replaced_here_by_john.com/webmail/src/right_main.php?PG_SHOWALL=0&sort=0&startMessage=1&mailbox=saved_email Which doesn't seem to have any affect on other users and looks like it refers to t...
2017 Jan 19
4
[PATCH] Fix cppcheck warnings
...39;t handle %u bit output\n", stream_data_.bits_per_sample); safe_decoder_finish_(decoder_); return; } diff --git a/src/share/utf8/charset.c b/src/share/utf8/charset.c index 432e32d..0c2d1ee 100644 --- a/src/share/utf8/charset.c +++ b/src/share/utf8/charset.c @@ -522,6 +522,7 @@ int charset_convert(const char *fromcode, const char *tocode, if (to) { newbuf = realloc(tobuf, p - tobuf); *to = newbuf ? newbuf : tobuf; + free(newbuf); } else free(tobuf); diff --git a/src/test_libFLAC++/encoders.cpp b/src/test_libFLAC++/encoders.cpp index 277e129..e328a53 100644 --- a/sr...
2001 Oct 24
3
Almost there...
...epcomp \ cc -DPACKAGE=\"vorbis-tools\" -DVERSION=\"1.0rc2\" -I. -I. -I../include -fno-common -O4 -Wall -fsigned-char -ffast-math -c `test -f utf8.c || echo './'`utf8.c utf8.c: In function `convert_buffer': utf8.c:261: warning: implicit declaration of function `charset_convert' rm -f libutf8.a ar cru libutf8.a charset.o iconvert.o utf8.o ranlib libutf8.a ranlib: file: libutf8.a(iconvert.o) has no symbols source='getopt.c' object='getopt.o' libtool=no \ depfile='.deps/getopt.Po' tmpdepfile='.deps/getopt.TPo' \ depmode=gcc /bin/sh ../dep...
2001 Sep 30
3
UTF-8 stuff
...ck that iconv() works properly. Experience with Mutt tells us that there are some severely broken versions of iconv around. At present exactly one of iconvert.c and charset.c is included in the executable, but it's possible some people might want to have both. So there should probably be a USE_CHARSET_CONVERT macro that by default is defined iff HAVE_ICONV is not defined, but whose value can be altered by an argument to configure. Implement the Windows version of convert_from_utf8(). Edmund diff -ru xiph.orig/vorbis-tools/acinclude.m4 xiph/vorbis-tools/acinclude.m4 --- xiph.orig/vorbis-tools/acinclud...