Use load_text_file() in document_open_file() to read, verify and
handle encoding using FileData struct. Refactored handle_[forced_]encoding with FileData* argument. Update data length after removing BOM chars in handle_bom(). git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1159 ea778897-0a13-0410-b9d1-a72fbfd435f5
Showing
This diff is collapsed.
Please
register
or
sign in
to comment