Protect against NULLs when text is not valid in encoding.
Protect against NULLs when text is not valid in encoding.

windoze/scintilla,windoze/scintilla,keperlia/foo-wsh-panel-mod.scintilla,keperlia/foo-wsh-panel-mod.scintilla,keperlia/foo-wsh-panel-mod.scintilla,windoze/scintilla,keperlia/foo-wsh-panel-mod.scintilla,windoze/scintilla,windoze/scintilla,keperlia/foo-wsh-panel-mod.scintilla,windoze/scintilla,keperlia/foo-wsh-panel-mod.scintilla,windoze/scintilla,windoze/scintilla