任何人都可以請解釋我爲什麼在下面的塊讀取'I/O錯誤998'? function ReadBiggerFile: string;
var
biggerfile: file of char;
BufArray: array [1 .. 4096] of char; // we will read 4 KB at a time
nrcit, i: integer;
我正在使用德爾福6. 我想解碼一個葡萄牙UTF-8編碼的字符串到WideString,但我發現它不正確解碼。 原文爲"ANÁLISE8"。使用UTF8Decode()後,結果爲"ANALISE8"。 "A"上方的符號消失。 下面是代碼: var
f : textfile;
s : UTF8String;
w, test : WideString;
begin