# HG changeset patch # User Sebastien Jodogne # Date 1752058520 -7200 # Node ID 266b0b912c356e660c7c0ec31d2a0b6dbc202383 # Parent 4cb5be924923bfc90494fb30e5f8899c5775bca3 fix build diff -r 4cb5be924923 -r 266b0b912c35 OrthancStone/Sources/Fonts/GlyphAlphabet.cpp --- a/OrthancStone/Sources/Fonts/GlyphAlphabet.cpp Sat May 31 09:25:47 2025 +0200 +++ b/OrthancStone/Sources/Fonts/GlyphAlphabet.cpp Wed Jul 09 12:55:20 2025 +0200 @@ -113,7 +113,12 @@ character.resize(1); character[0] = static_cast(index); +#if ORTHANC_FRAMEWORK_VERSION_IS_ABOVE(1, 12, 9) + std::string utf8 = Orthanc::Toolbox::ConvertToUtf8(character, encoding, false /* no code extensions */, + false /* don't skip backslashes */); +#else std::string utf8 = Orthanc::Toolbox::ConvertToUtf8(character, encoding, false /* no code extensions */); +#endif if (utf8.empty()) {