mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
add util::escape 'escapeUnicode' option
This commit is contained in:
parent
637dfa66c2
commit
6e90568d2a
3 changed files with 9 additions and 5 deletions
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
namespace util {
|
||||
/// @brief Function used for string serialization in text formats
|
||||
std::string escape(std::string_view s);
|
||||
std::string escape(std::string_view s, bool escapeUnicode=true);
|
||||
|
||||
/// @brief Function used for error messages
|
||||
std::string quote(const std::string& s);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue