fw4spl
|
Helper class for encoding management. More...
#include <Encoding.hpp>
Static Public Member Functions | |
static FWGDCMIO_API std::string | convertString (const std::string &source, const std::string &definedCharsetTerm, const std::shared_ptr< ::fwLog::Logger > &logger=nullptr) throw (::fwCore::Exception, ::boost::locale::conv::invalid_charset_error) |
Convert a DICOM string from the specified charset to utf-8. More... | |
Helper class for encoding management.
Definition at line 34 of file Encoding.hpp.
|
static |
Convert a DICOM string from the specified charset to utf-8.
[in] | source | Source buffer |
[in] | definedCharsetTerm | DICOM source charset |
[in] | logger | Logger used for conversion errors |
fwCore::Exception | |
::boost::locale::conv::invalid_charset_error |
Definition at line 170 of file Encoding.cpp.
References SLM_WARN_IF.
Referenced by fwGdcmIO::helper::DicomDataReader::getTagValue().