search for: utf8_decode

Displaying 6 results from an estimated 6 matches for "utf8_decode".

2001 Sep 22
2
vorbis-tools reorganziation and UTF-8 stuff
...nce I would rather debug the kcarnold_branch ogg123 than figure out UTF-8, I'm throwing out this list of requests to the more motivated and/or knowledgable people out there: 1. Check vorbiscomment to make sure I really did fix UTF-8 encoding on it. (I don't know how to test it.) 2. Write utf8_decode() routines for vorbis-tools/share/utf8.c. We actually need three implementations: Windows, UNIX with iconv and UNIX without iconv. Look at the utf8_encode() routines for examples of what I'm talking about. There are already utf8_decode() stubs in both the Win32 and UNIX #ifdef sections. 3....
2013 Apr 23
2
Metaflac UTF-8 fixes
...e truncated by utf_decode(). */ +#ifdef _WIN32 /* if we are outputting to console, we need to use proper print functions to show unicode characters */ + if (f == stdout || f == stderr) { + flac_fprintf(f, "%s", entry->entry); + } else { +#endif char *converted; if(utf8_decode((const char *)entry->entry, &converted) >= 0) { @@ -245,6 +250,9 @@ void write_vc_field(const char *filename, const FLAC__StreamMetadata_VorbisComme else { (void) local_fwrite(entry->entry, 1, entry->length, f); } +#ifdef _WIN32 + } +#endif } else { (void) l...
2001 Sep 30
3
UTF-8 stuff
...ginfo(CODESET). This is the function that lets you discover the charset of the user's locale without forcing them to use a command-line argument. configure.in: Use AM_LANGINFO_CODESET. utf8.h, utf8.c: These files are totally rewritten, apart from the Windows part. Instead of utf8_encode() and utf8_decode() there's convert_to_utf8() and convert_from_utf8(), which no longer have an "encoding" argument. oggenc.c, vcomment.c: Call setlocale(), so that nl_langinfo() will work. Remove the "encoding" option and "encoding" arguments. Instead there's either nl_langinfo...
2012 Feb 26
0
Testing needed
...src/mingw-flac/flac-1.2.2-rc1/src/share/utf8/utf8.c: In function 'utf8_encode': f:/src/mingw-flac/flac-1.2.2-rc1/src/share/utf8/utf8.c:184:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] f:/src/mingw-flac/flac-1.2.2-rc1/src/share/utf8/utf8.c: In function 'utf8_decode': f:/src/mingw-flac/flac-1.2.2-rc1/src/share/utf8/utf8.c:198:5: warning: pointer targets in passing argument 1 of 'make_unicode_string' differ in signedness [-Wpointer-sign] f:/src/mingw-flac/flac-1.2.2-rc1/src/share/utf8/utf8.c:95:17: note: expected 'const unsigned char *' but...
2008 Sep 18
2
vorbis-tools 1.3.0 BETA - Help testing.
...the Translation Project * Added new en_GB.po, eo.po, sk.po and vi.po translation files * Added AC_USE_SYSTEM_EXTENSIONS to configure.ac; no more autogen.sh warnings * Corrected SUBLANG values in intl/localename.c (#1415) * Modify -v to -V on oggenc and oggdec for consistency (#1112) * Fix for utf8_decode in Windows; improves behavior in vorbiscomment (#268) * ogg123: backported fix from libfishsound to patch the Speex decoder (#1347) * ogg123: fixed CPU issue when outputting to a closed pipe (#1357) * ogg123: return value to stop decoding after buffer is shut down (#1357) * oggdec: gettextized...
2012 Feb 26
5
Testing needed
Hi all, I think we're getting close to the first FLAC release in over 4 years. I have tested whats currently in Git on x86, x86_64 and PowerPC Linux and would appreciate reports of successful compiles (and even more importantly any failures) on OSX, Windows and elsewhere. Cheers, Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo