Medical Imaging Interaction Toolkit  2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
mitkUtf8Util.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef mitkUtf8Util_h
14 #define mitkUtf8Util_h
15 
16 #include <MitkCoreExports.h>
17 #include <string>
18 
19 namespace mitk
20 {
21  namespace Utf8Util
22  {
32  MITKCORE_EXPORT std::string Local8BitToUtf8(const std::string& local8BitStr);
33 
43  MITKCORE_EXPORT std::string Utf8ToLocal8Bit(const std::string& utf8Str);
44  }
45 }
46 
47 #endif
mitk::Utf8Util::Utf8ToLocal8Bit
MITKCORE_EXPORT std::string Utf8ToLocal8Bit(const std::string &utf8Str)
Convert a UTF-8 encoded string to a string encoded with the current code page (Windows)
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
MitkCoreExports.h
mitk::Utf8Util::Local8BitToUtf8
MITKCORE_EXPORT std::string Local8BitToUtf8(const std::string &local8BitStr)
Convert a string encoded with the current code page to an UTF-8 encoded string (Windows)
MITKCORE_EXPORT
#define MITKCORE_EXPORT
Definition: MitkCoreExports.h:15