ECSTASY
All in the name
Loading...
Searching...
No Matches
Encoding.cpp
Go to the documentation of this file.
1
11
12#include "Encoding.hpp"
13
15{
17 {
18 std::string output;
19 sf::Utf32::toUtf8(&utf, &utf + 1, std::back_inserter(output));
20
21 return output;
22 }
23} // namespace ecstasy::integration::sfml
T back_inserter(T... args)
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