From 404f007dd64dba181ddbfc59cd40c332a3a5f2f1 Mon Sep 17 00:00:00 2001 From: Basile Burg Date: Mon, 16 Nov 2015 14:22:08 +0100 Subject: [PATCH] nothing --- src/ce_dubproject.pas | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ce_dubproject.pas b/src/ce_dubproject.pas index 74dde811..94862d0c 100644 --- a/src/ce_dubproject.pas +++ b/src/ce_dubproject.pas @@ -161,6 +161,9 @@ begin fBasePath := extractFilePath(aFilename); fFilename := aFilename; loader.LoadFromFile(fFilename); + + //TODO-cDUB: if loaded as UTF8 it should be saved as well ! + // skip BOM, this crashes the parser loader.Read(bom, 4); if (bom and $BFBBEF) = $BFBBEF then