[BUG_FIXED] (Author: visimulator) Fix sorting path in Windows document dialog makes Notepad++ crash.

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1188 f5eea248-9336-0410-98b8-ebc06183d4e3
[NEW_FEATURE] (Author: Giles Payne) Auto-detect character encoding.

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1189 f5eea248-9336-0410-98b8-ebc06183d4e3