aboutsummaryrefslogtreecommitdiffstats
path: root/deps/sol2/docs/source/codecvt.rst
diff options
context:
space:
mode:
authorAndy Belle-Isle <drumsetmonkey@gmail.com>2019-08-30 00:45:36 -0400
committerAndy Belle-Isle <drumsetmonkey@gmail.com>2019-08-30 00:45:36 -0400
commitdc2493e7525bb7633f697ef10f72b72b46222249 (patch)
tree9816755219e65d3f47fdce81c78f3736a7ddb8ab /deps/sol2/docs/source/codecvt.rst
parent9d2b31797d0cfd130802b69261df2cd402e39b49 (diff)
Forget what I said, I just need to change git attributes to mark for vendor
Diffstat (limited to 'deps/sol2/docs/source/codecvt.rst')
-rw-r--r--deps/sol2/docs/source/codecvt.rst14
1 files changed, 0 insertions, 14 deletions
diff --git a/deps/sol2/docs/source/codecvt.rst b/deps/sol2/docs/source/codecvt.rst
deleted file mode 100644
index 66f1966..0000000
--- a/deps/sol2/docs/source/codecvt.rst
+++ /dev/null
@@ -1,14 +0,0 @@
-unicode transformation format handling
-======================================
-because this is surprisingly hard using standard C++
-----------------------------------------------------
-
-.. note::
-
- The ``<codecvt>`` header is no longer used and sol3 now converts utf8, utf16, and utf32 with internal routines. If you have a problem with the transcoding, please `file an issue report`_.
-
-``std::(w)string(u16/u32)`` are assumed to be in the platform's native wide (for ``wstring``) or unicode format. Lua canonically stores its string literals as utf8 and embraces utf8, albeit its storage is simply a sequence of bytes that are also null-terminated (it is also counted and the size is kept around, so embedded nulls can be used in the string). Therefore, if you need to interact with the unicode or wide alternatives of strings, runtime conversions are performed from the (assumed) utf8 string data into other forms. These conversions check for well-formed UTF, and will replace ill-formed characters with the unicode replacement codepoint, 0xFFFD.
-
-Note that we cannot give you a ``string_view`` to utf16 or utf32 strings: Lua does not hold them in memory this way. You can perhaps do your own customization to provide for this if need be. Remember that Lua stores a counted sequence of bytes: serializing your string as bytes and pushing a string type into Lua's stack will work, though do not except any complex string routines or printing to behave nicely with your code.
-
-.. _file an issue report: https://github.com/ThePhD/sol2/issues