Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
wiki:documentation:devguide:core:char_encoding [2016/10/04 09:27] carolina.santos [Interfaces Qt] |
wiki:documentation:devguide:core:char_encoding [2016/10/04 14:00] carolina.santos [References] |
||
---|---|---|---|
Line 5: | Line 5: | ||
As support was created the class **te::core::Char Encoding** that allows the conversion of characters using the [[http://www.boost.org/doc/libs/1_62_0/libs/locale/doc/html/index.html | Boost.Locale]]. | As support was created the class **te::core::Char Encoding** that allows the conversion of characters using the [[http://www.boost.org/doc/libs/1_62_0/libs/locale/doc/html/index.html | Boost.Locale]]. | ||
- | This class is used only through static member functions, it is not possible to create instances or copies of the class. | + | This class is used only through static member functions and it is not possible to create instances or copies of the class. |
===== API ===== | ===== API ===== | ||
Line 39: | Line 39: | ||
\brief A class for handling character enconding/decoding. | \brief A class for handling character enconding/decoding. | ||
*/ | */ | ||
- | class TECOREEXPORT CharEncoding | + | class CharEncoding |
{ | { | ||
public: | public: | ||
Line 136: | Line 136: | ||
</code> | </code> | ||
- | ===== Exemplo ===== | + | ===== Example ===== |
Here is a simple example using the functions provided by **CharEncoding** class: | Here is a simple example using the functions provided by **CharEncoding** class: | ||
Line 178: | Line 178: | ||
**Note:** in case it is not possible to convert a character it will be ignored. | **Note:** in case it is not possible to convert a character it will be ignored. | ||
- | ===== Referências ===== | + | ===== Additional References ===== |
- | * [[http://www.boost.org/doc/libs/1_62_0/libs/locale/doc/html/index.html | Boost.Locale]] | ||
* [[http://stackoverflow.com/questions/1259084/what-encoding-code-page-is-cmd-exe-using | What encoding/code page is cmd.exe using]] | * [[http://stackoverflow.com/questions/1259084/what-encoding-code-page-is-cmd-exe-using | What encoding/code page is cmd.exe using]] | ||