43template <
class InputIt,
class OutputIt>
44OutputIt copy(InputIt first, InputIt last, OutputIt dFirst);
47template <
unsigned int N>
72 template <
typename In>
73 static In
decode(In begin, In end,
char32_t& output,
char32_t replacement = 0);
88 template <
typename Out>
89 static Out
encode(
char32_t input, Out output, std::uint8_t replacement = 0);
103 template <
typename In>
104 static In
next(In begin, In end);
119 template <
typename In>
120 static std::size_t
count(In begin, In end);
136 template <
typename In,
typename Out>
137 static Out
fromAnsi(In begin, In end, Out output,
const std::locale& locale = {});
149 template <
typename In,
typename Out>
162 template <
typename In,
typename Out>
180 template <
typename In,
typename Out>
181 static Out
toAnsi(In begin, In end, Out output,
char replacement = 0,
const std::locale& locale = {});
194 template <
typename In,
typename Out>
195 static Out
toWide(In begin, In end, Out output,
wchar_t replacement = 0);
208 template <
typename In,
typename Out>
209 static Out
toLatin1(In begin, In end, Out output,
char replacement = 0);
226 template <
typename In,
typename Out>
227 static Out
toUtf8(In begin, In end, Out output);
239 template <
typename In,
typename Out>
240 static Out
toUtf16(In begin, In end, Out output);
252 template <
typename In,
typename Out>
253 static Out
toUtf32(In begin, In end, Out output);
278 template <
typename In>
279 static In
decode(In begin, In end,
char32_t& output,
char32_t replacement = 0);
294 template <
typename Out>
295 static Out
encode(
char32_t input, Out output,
char16_t replacement = 0);
309 template <
typename In>
310 static In
next(In begin, In end);
325 template <
typename In>
326 static std::size_t
count(In begin, In end);
342 template <
typename In,
typename Out>
343 static Out
fromAnsi(In begin, In end, Out output,
const std::locale& locale = {});
355 template <
typename In,
typename Out>
368 template <
typename In,
typename Out>
386 template <
typename In,
typename Out>
387 static Out
toAnsi(In begin, In end, Out output,
char replacement = 0,
const std::locale& locale = {});
400 template <
typename In,
typename Out>
401 static Out
toWide(In begin, In end, Out output,
wchar_t replacement = 0);
414 template <
typename In,
typename Out>
415 static Out
toLatin1(In begin, In end, Out output,
char replacement = 0);
427 template <
typename In,
typename Out>
428 static Out
toUtf8(In begin, In end, Out output);
445 template <
typename In,
typename Out>
446 static Out
toUtf16(In begin, In end, Out output);
458 template <
typename In,
typename Out>
459 static Out
toUtf32(In begin, In end, Out output);
485 template <
typename In>
486 static In
decode(In begin, In end,
char32_t& output,
char32_t replacement = 0);
502 template <
typename Out>
503 static Out
encode(
char32_t input, Out output,
char32_t replacement = 0);
517 template <
typename In>
518 static In
next(In begin, In end);
532 template <
typename In>
533 static std::size_t
count(In begin, In end);
549 template <
typename In,
typename Out>
550 static Out
fromAnsi(In begin, In end, Out output,
const std::locale& locale = {});
562 template <
typename In,
typename Out>
575 template <
typename In,
typename Out>
593 template <
typename In,
typename Out>
594 static Out
toAnsi(In begin, In end, Out output,
char replacement = 0,
const std::locale& locale = {});
607 template <
typename In,
typename Out>
608 static Out
toWide(In begin, In end, Out output,
wchar_t replacement = 0);
621 template <
typename In,
typename Out>
622 static Out
toLatin1(In begin, In end, Out output,
char replacement = 0);
634 template <
typename In,
typename Out>
635 static Out
toUtf8(In begin, In end, Out output);
647 template <
typename In,
typename Out>
648 static Out
toUtf16(In begin, In end, Out output);
665 template <
typename In,
typename Out>
666 static Out
toUtf32(In begin, In end, Out output);
681 template <
typename In>
682 static char32_t decodeAnsi(In input,
const std::locale& locale = {});
696 template <
typename In>
714 template <
typename Out>
715 static Out
encodeAnsi(
char32_t codepoint, Out output,
char replacement = 0,
const std::locale& locale = {});
731 template <
typename Out>
732 static Out
encodeWide(
char32_t codepoint, Out output,
wchar_t replacement = 0);
742#include <SFML/System/Utf.inl>
static Out toUtf16(In begin, In end, Out output)
Convert a UTF-16 characters range to UTF-16.
static Out fromWide(In begin, In end, Out output)
Convert a wide characters range to UTF-16.
static Out toWide(In begin, In end, Out output, wchar_t replacement=0)
Convert an UTF-16 characters range to wide characters.
static Out fromLatin1(In begin, In end, Out output)
Convert a latin-1 (ISO-5589-1) characters range to UTF-16.
static Out fromAnsi(In begin, In end, Out output, const std::locale &locale={})
Convert an ANSI characters range to UTF-16.
static std::size_t count(In begin, In end)
Count the number of characters of a UTF-16 sequence.
static Out toUtf32(In begin, In end, Out output)
Convert a UTF-16 characters range to UTF-32.
static Out toAnsi(In begin, In end, Out output, char replacement=0, const std::locale &locale={})
Convert an UTF-16 characters range to ANSI characters.
static In next(In begin, In end)
Advance to the next UTF-16 character.
static Out toLatin1(In begin, In end, Out output, char replacement=0)
Convert an UTF-16 characters range to latin-1 (ISO-5589-1) characters.
static In decode(In begin, In end, char32_t &output, char32_t replacement=0)
Decode a single UTF-16 character.
static Out encode(char32_t input, Out output, char16_t replacement=0)
Encode a single UTF-16 character.
static Out toUtf8(In begin, In end, Out output)
Convert a UTF-16 characters range to UTF-8.
static Out fromLatin1(In begin, In end, Out output)
Convert a latin-1 (ISO-5589-1) characters range to UTF-32.
static Out toLatin1(In begin, In end, Out output, char replacement=0)
Convert an UTF-16 characters range to latin-1 (ISO-5589-1) characters.
static Out toWide(In begin, In end, Out output, wchar_t replacement=0)
Convert an UTF-32 characters range to wide characters.
static Out toUtf8(In begin, In end, Out output)
Convert a UTF-32 characters range to UTF-8.
static Out toUtf16(In begin, In end, Out output)
Convert a UTF-32 characters range to UTF-16.
static char32_t decodeWide(In input)
Decode a single wide character to UTF-32.
static Out fromAnsi(In begin, In end, Out output, const std::locale &locale={})
Convert an ANSI characters range to UTF-32.
static In next(In begin, In end)
Advance to the next UTF-32 character.
static char32_t decodeAnsi(In input, const std::locale &locale={})
Decode a single ANSI character to UTF-32.
static std::size_t count(In begin, In end)
Count the number of characters of a UTF-32 sequence.
static In decode(In begin, In end, char32_t &output, char32_t replacement=0)
Decode a single UTF-32 character.
static Out toAnsi(In begin, In end, Out output, char replacement=0, const std::locale &locale={})
Convert an UTF-32 characters range to ANSI characters.
static Out encode(char32_t input, Out output, char32_t replacement=0)
Encode a single UTF-32 character.
static Out encodeAnsi(char32_t codepoint, Out output, char replacement=0, const std::locale &locale={})
Encode a single UTF-32 character to ANSI.
static Out encodeWide(char32_t codepoint, Out output, wchar_t replacement=0)
Encode a single UTF-32 character to wide.
static Out toUtf32(In begin, In end, Out output)
Convert a UTF-32 characters range to UTF-32.
static Out fromWide(In begin, In end, Out output)
Convert a wide characters range to UTF-32.
static Out toAnsi(In begin, In end, Out output, char replacement=0, const std::locale &locale={})
Convert an UTF-8 characters range to ANSI characters.
static In next(In begin, In end)
Advance to the next UTF-8 character.
static In decode(In begin, In end, char32_t &output, char32_t replacement=0)
Decode a single UTF-8 character.
static Out fromAnsi(In begin, In end, Out output, const std::locale &locale={})
Convert an ANSI characters range to UTF-8.
static Out toUtf32(In begin, In end, Out output)
Convert a UTF-8 characters range to UTF-32.
static Out fromLatin1(In begin, In end, Out output)
Convert a latin-1 (ISO-5589-1) characters range to UTF-8.
static Out toUtf16(In begin, In end, Out output)
Convert a UTF-8 characters range to UTF-16.
static Out fromWide(In begin, In end, Out output)
Convert a wide characters range to UTF-8.
static Out toWide(In begin, In end, Out output, wchar_t replacement=0)
Convert an UTF-8 characters range to wide characters.
static Out toLatin1(In begin, In end, Out output, char replacement=0)
Convert an UTF-8 characters range to latin-1 (ISO-5589-1) characters.
static Out toUtf8(In begin, In end, Out output)
Convert a UTF-8 characters range to UTF-8.
static std::size_t count(In begin, In end)
Count the number of characters of a UTF-8 sequence.
static Out encode(char32_t input, Out output, std::uint8_t replacement=0)
Encode a single UTF-8 character.
Utility class providing generic functions for UTF conversions.