Documentation of SFML 2.1

Warning: this page refers to an old version of SFML. Click here to switch to the latest version.
sf::Utf Class Reference

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

#include <Utf.hpp>

Detailed Description

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 instanciated. All the functions are template, so that you can use any character / string type for a given encoding.

It has 3 specializations:


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