This patch needs to be applied AFTER 917063 which is Ralf Engels unicode patch. Ralf's patch (amongst other things) adds new routines "GetText" and "SetText" which auto-translate between ASCII & Unicode, hiding the stored format from the app (appears to work then as the documentation [erroneously] suggested). On 'ix platforms the conversion to/from ASCII, UTF-16, UTF-16BE & UTF-8 either utilises 'libiconv' or 'libunicode'.
My patch implements the unicode translations using the Win32 API or optionally using the Win32 port of 'libiconv' (define HAVE_ICONV_H you'll need to get the binaries from http://gettext.sourceforge.net/ and include the import lib in the project. It also calls Ralf's "GetText" & "SetText" routines from the Get/SetASCII routines in the C wrapper, therefore performing the ASCII/unicode translation transparently.
TODO: The unicode routines however still only work for unicode stored data.
Patch also adds new routine to the 'C' wrapper, "GetMp3HeaderInfo" from reading Mp3 frame info.
Patch applied against baseline 3.8.3 source, except utils.cpp should be v1.28 from cvs.
jon bird, playout@onasticksoftware.co.uk
unicode patch for win32