Initial commit

This commit is contained in:
2025-03-09 15:25:03 -05:00
commit 97a63ac287
124 changed files with 54197 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
//================================================================================================
/// @file StringEncodingConversions.hpp
///
/// @brief Helper functions for converting ISO 11783's string encodings to UTF-8
/// @author Adrian Del Grosso
///
/// @copyright 2024 Adrian Del Grosso
//================================================================================================
#ifndef STRING_ENCODING_CONVERSIONS_HPP
#define STRING_ENCODING_CONVERSIONS_HPP
#include <string>
enum class SourceEncoding
{
ISO8859_1,
ISO8859_2,
ISO8859_4,
ISO8859_5,
ISO8859_7,
ISO8859_15
};
void convert_string_to_utf_8(SourceEncoding encoding, const std::string &input, std::string &output, bool autoWrappingEnabled);
#endif // STRING_ENCODING_CONVERSIONS_HPP