From: Vadim Zeitlin Date: Sun, 28 Sep 2003 11:10:46 +0000 (+0000) Subject: mention that Write(string) works with NUL-terminated strings only X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/4f5c4ebf1a8dc1e835ebb444c09464e160c84507?ds=sidebyside mention that Write(string) works with NUL-terminated strings only git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/docs/latex/wx/file.tex b/docs/latex/wx/file.tex index 4f8ac4bafc..427897947c 100644 --- a/docs/latex/wx/file.tex +++ b/docs/latex/wx/file.tex @@ -298,3 +298,7 @@ Writes the contents of the string to the file, returns true on success. The second argument is only meaningful in Unicode build of wxWindows when {\it conv} is used to convert {\it s} to multibyte representation. +Note that this method only works with {\tt NUL}-terminated strings, if you want +to write data with embedded {\tt NUL}s to the file you should use the other +\helpref{Write() overload}{wxfilewrite}. +