Use wxConvAuto() in wxStyledTextCtrl::DoLoadFile().
authorVáclav Slavík <vslavik@fastmail.fm>
Sun, 7 Jul 2013 11:47:17 +0000 (11:47 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sun, 7 Jul 2013 11:47:17 +0000 (11:47 +0000)
commite7b6bef7c5e8fe436b506a316275f9bb08969415
tree9c0a760da179e6ed7d2bd8c9532c1dae5366bfea
parentf8c2c6f24d072403e13310f5f15eecb58a7a07d9
Use wxConvAuto() in wxStyledTextCtrl::DoLoadFile().

This is both more reasonable than the current runtime encoding (the
input file is from unknown source) and more robust (it can handle UTF-*
encoded files transparently).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/stc/stc.cpp
src/stc/stc.cpp.in