Skip to content
Snippets Groups Projects
Commit 88660fdf authored by Camilla Löwy's avatar Camilla Löwy
Browse files

Add note on C++11/C11 UTF-8 literals

parent f47e2f3a
No related branches found
No related tags found
No related merge requests found
......@@ -587,6 +587,12 @@ characters directly in the source.
glfwSetWindowTitle(window, "星を追う子ども");
@endcode
If you are using C++11 or C11, you can use a UTF-8 string literal.
@code
glfwSetWindowTitle(window, u8"This is always a UTF-8 string");
@endcode
@subsection window_monitor Window monitor
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment