SFML - Simple and Fast Multimedia Library

SFML 3.0.2
Loading...
Searching...
No Matches
sf::Utf< N > Class Template Reference
System module

Utility class providing generic functions for UTF conversions. More...

`#include <SFML/System/Utf.hpp>`

## Detailed Description

template<unsigned int N>
class sf::Utf< N >

Utility class providing generic functions for UTF conversions.

sf::Utf is a low-level, generic interface for counting, iterating, encoding and decoding Unicode characters and strings. It is able to handle ANSI, wide, latin-1, UTF-8, UTF-16 and UTF-32 encodings.

sf::Utf<X> functions are all static, these classes are not meant to be instantiated. All the functions are template, so that you can use any character / string type for a given encoding.

It has 3 specializations:

- sf::Utf<8> (with sf::Utf8 type alias)
- sf::Utf<16> (with sf::Utf16 type alias)
- sf::Utf<32> (with sf::Utf32 type alias)

Definition at line 48 of file Utf.hpp.

The documentation for this class was generated from the following file:

- Utf.hpp