Medical Imaging Interaction Toolkit  2026.06.00
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 {
22  namespace Utf8Util
23  {
36  MITKCORE_EXPORT std::string Local8BitToUtf8(const std::string& local8BitStr);
37 
50  MITKCORE_EXPORT std::string Utf8ToLocal8Bit(const std::string& utf8Str);
51  }
52 }
53 
54 #endif
#define MITKCORE_EXPORT
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).
MITKCORE_EXPORT std::string Local8BitToUtf8(const std::string &local8BitStr)
Convert a string encoded with the current code page to a UTF-8 encoded string (Windows).
Find image slices visible on a given plane.