]> git.saurik.com Git - wxWidgets.git/commit - src/common/datstrm.cpp
1. changed all "wxMBConv& conv" parameters to "const wxMBConv&"
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 5 Apr 2006 14:37:47 +0000 (14:37 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 5 Apr 2006 14:37:47 +0000 (14:37 +0000)
commit830f8f11bca5c0892ae767ba14790c8b5b59011f
treea21c132c30e5b54f6807e6b9999f7a5cab29eeb1
parentcc845a614214e2ac62ddb3108ddc5c8306f304ac
1. changed all "wxMBConv& conv" parameters to "const wxMBConv&"
2. this allows to use wxConvAuto() instead of wxConvUTF8 as default value
   for this parameter in the classes which read text from the file: wxConvAuto
   automatically recognizes the BOM at the start of file and uses the correct
   conversion
3. don't use Windows for UTF-7 conversions as there is no way to make it
   fail on invalid UTF-7 strings; use our own wxMBConvUtf7 instead

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
21 files changed:
build/bakefiles/files.bkl
docs/changes.txt
include/wx/convauto.h [new file with mode: 0644]
include/wx/datstrm.h
include/wx/ffile.h
include/wx/file.h
include/wx/fileconf.h
include/wx/memtext.h
include/wx/string.h
include/wx/textbuf.h
include/wx/textfile.h
include/wx/txtstrm.h
src/common/convauto.cpp [new file with mode: 0644]
src/common/datstrm.cpp
src/common/ffile.cpp
src/common/fileconf.cpp
src/common/strconv.cpp
src/common/string.cpp
src/common/textbuf.cpp
src/common/textfile.cpp
src/common/txtstrm.cpp