cog/Plugins
Christopher Snowhill f7dc6beda1 Plugin utilities: Moved encoding guesser to header
Moved the string encoding guesser/converter to the Plugin.h header, so
it may be accessible from any plugin. I may make it a global member of
something eventually, but a static inline for such a simple function
should be fine for now.

This function facilitates converting arbitrary 8 bit encoded strings to
Unicode NSString objects. It should be used anywhere that UTF-8 is
expected, but not necessarily guaranteed, and where other 8-bit
encodings may also be supplied by a user's files.

Not using this setup for string inputs has already led to failed UTF-8
decoding resulting in nil NSStrings being passed to the inline array or
dictionary initializers, which results in crashes due to uncaught
exceptions.

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
2022-05-24 01:05:43 -07:00
..
APL Add decoder open error indicator 2022-02-10 02:15:48 -08:00
AdPlug Implement framework for dynamic metadata updates 2022-02-08 21:21:53 -08:00
ArchiveSource Reformat my own source code with clang-format 2022-02-06 21:49:27 -08:00
BASSMODS Reformat my own source code with clang-format 2022-02-06 21:49:27 -08:00
CoreAudio Implement framework for dynamic metadata updates 2022-02-08 21:21:53 -08:00
CueSheet CUE Reader: Fix enumerating sheets and tag reading 2022-02-13 12:18:58 -08:00
Dumb Reformat my own source code with clang-format 2022-02-06 21:49:27 -08:00
FFMPEG FFmpeg Input: Change Monkey's Audio description 2022-04-21 14:20:35 -07:00
FileSource Reformat my own source code with clang-format 2022-02-06 21:49:27 -08:00
Flac Clean up a couple of warning notices on this file 2022-02-26 01:11:50 -08:00
GME Implement framework for dynamic metadata updates 2022-02-08 21:21:53 -08:00
HTTPSource Plugin utilities: Moved encoding guesser to header 2022-05-24 01:05:43 -07:00
HighlyComplete Highly Complete / USF: Enable HLE again 2022-03-05 20:44:41 -08:00
Hively Fix Info.plist having bare apostrophes 2022-02-20 01:51:11 -08:00
M3u Reformat my own source code with clang-format 2022-02-06 21:49:27 -08:00
MAD MAD Input: Fix gapless decoding of FFmpeg files 2022-04-25 13:19:12 -07:00
MIDI MIDI Plugin: Rearrange project source files 2022-02-09 18:43:01 -08:00
Musepack Implement framework for dynamic metadata updates 2022-02-08 21:21:53 -08:00
OpenMPT Implement framework for dynamic metadata updates 2022-02-08 21:21:53 -08:00
OpenMPT.old Implement framework for dynamic metadata updates 2022-02-08 21:21:53 -08:00
Opus Build several libraries out of tree now 2022-02-15 00:26:55 -08:00
Pls Reformat my own source code with clang-format 2022-02-06 21:49:27 -08:00
Quicktime Reformat my own source code with clang-format 2022-02-06 21:49:27 -08:00
Shorten Implement framework for dynamic metadata updates 2022-02-08 21:21:53 -08:00
SilenceDecoder Add decoder open error indicator 2022-02-10 02:15:48 -08:00
TagLib Update supported file name extensions for art 2022-02-16 01:56:34 -08:00
Vorbis Add include path for libogg 2022-02-15 00:40:47 -08:00
WavPack Correct capitalization of WavPack in codec info 2022-03-04 02:08:55 -08:00
libvgmPlayer Implement framework for dynamic metadata updates 2022-02-08 21:21:53 -08:00
modplay Reformat my own source code with clang-format 2022-02-06 21:49:27 -08:00
playptmod Reformat my own source code with clang-format 2022-02-06 21:49:27 -08:00
sidplay SID Input: Bring back file hints, better this time 2022-02-11 04:43:20 -08:00
vgmstream VGMStream Input: Fix subsong files dumping tracks 2022-04-20 01:50:44 -07:00