Mercurial > hg > orthanc
comparison Core/Toolbox.h @ 3217:cf8cbeb35f33
preliminary support of Korean character set
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 13 Feb 2019 17:46:12 +0100 |
parents | 810772486249 |
children | b32b7c44a223 |
comparison
equal
deleted
inserted
replaced
3216:c9a71eb4edcf | 3217:cf8cbeb35f33 |
---|---|
161 const std::string& content); | 161 const std::string& content); |
162 #endif | 162 #endif |
163 | 163 |
164 #if ORTHANC_ENABLE_LOCALE == 1 | 164 #if ORTHANC_ENABLE_LOCALE == 1 |
165 std::string ConvertToUtf8(const std::string& source, | 165 std::string ConvertToUtf8(const std::string& source, |
166 Encoding sourceEncoding); | 166 Encoding sourceEncoding, |
167 bool hasCodeExtensions); | |
167 | 168 |
168 std::string ConvertFromUtf8(const std::string& source, | 169 std::string ConvertFromUtf8(const std::string& source, |
169 Encoding targetEncoding); | 170 Encoding targetEncoding); |
170 #endif | 171 #endif |
171 | 172 |
246 | 247 |
247 std::string GenerateUuid(); | 248 std::string GenerateUuid(); |
248 | 249 |
249 std::string SubstituteVariables(const std::string& source, | 250 std::string SubstituteVariables(const std::string& source, |
250 const std::map<std::string, std::string>& dictionary); | 251 const std::map<std::string, std::string>& dictionary); |
252 | |
253 void RemoveIso2022EscapeSequences(std::string& dest, | |
254 const std::string& src); | |
251 } | 255 } |
252 } | 256 } |
253 | 257 |
254 | 258 |
255 | 259 |