ECSTASY
All in the name
Loading...
Searching...
No Matches
Encoding.hpp
Go to the documentation of this file.
1
11
12#ifndef ECSTASY_INTEGRATIONS_SFML_ENCODING_HPP_
13#define ECSTASY_INTEGRATIONS_SFML_ENCODING_HPP_
14
15#include <SFML/System/Utf.hpp>
16#include <stdint.h>
17
19{
20 class Encoding {
21 public:
22 ~Encoding() = default;
23
34 static std::string utf32CharToUtf8String(uint32_t utf);
35
36 private:
37 Encoding() = default;
38 };
39} // namespace ecstasy::integration::sfml
40
41#endif /* !ECSTASY_INTEGRATIONS_SFML_ENCODING_HPP_ */
static std::string utf32CharToUtf8String(uint32_t utf)
Encode a Utf32 char to a Utf8 string.
Definition Encoding.cpp:16
SFML integration.
Definition include.hpp:28