|
@@ -1833,9 +1833,9 @@ end;
|
|
if (IBYTE and $80) = 0 then
|
|
if (IBYTE and $80) = 0 then
|
|
begin
|
|
begin
|
|
//One character US-ASCII, convert it to unicode
|
|
//One character US-ASCII, convert it to unicode
|
|
|
|
+(*
|
|
if IBYTE = 10 then
|
|
if IBYTE = 10 then
|
|
begin
|
|
begin
|
|
-(*
|
|
|
|
If (PreChar<>13) and FALSE then
|
|
If (PreChar<>13) and FALSE then
|
|
begin
|
|
begin
|
|
//Expand to crlf, conform UTF-8.
|
|
//Expand to crlf, conform UTF-8.
|
|
@@ -1856,7 +1856,6 @@ end;
|
|
end;
|
|
end;
|
|
end
|
|
end
|
|
else
|
|
else
|
|
-*)
|
|
|
|
begin
|
|
begin
|
|
Dest[OutputUnicode]:=WideChar(IBYTE);
|
|
Dest[OutputUnicode]:=WideChar(IBYTE);
|
|
inc(OutputUnicode);
|
|
inc(OutputUnicode);
|
|
@@ -1864,6 +1863,7 @@ end;
|
|
end;
|
|
end;
|
|
end
|
|
end
|
|
else
|
|
else
|
|
|
|
+*)
|
|
begin
|
|
begin
|
|
Dest[OutputUnicode]:=WideChar(IBYTE);
|
|
Dest[OutputUnicode]:=WideChar(IBYTE);
|
|
inc(OutputUnicode);
|
|
inc(OutputUnicode);
|
|
@@ -1978,9 +1978,9 @@ end;
|
|
if (IBYTE and $80) = 0 then
|
|
if (IBYTE and $80) = 0 then
|
|
begin
|
|
begin
|
|
//One character US-ASCII, convert it to unicode
|
|
//One character US-ASCII, convert it to unicode
|
|
|
|
+(*
|
|
if IBYTE = 10 then
|
|
if IBYTE = 10 then
|
|
begin
|
|
begin
|
|
-(*
|
|
|
|
if (PreChar<>13) and FALSE then
|
|
if (PreChar<>13) and FALSE then
|
|
begin
|
|
begin
|
|
//Expand to crlf, conform UTF-8.
|
|
//Expand to crlf, conform UTF-8.
|
|
@@ -1990,13 +1990,13 @@ end;
|
|
PreChar:=10;
|
|
PreChar:=10;
|
|
end
|
|
end
|
|
else
|
|
else
|
|
-*)
|
|
|
|
begin
|
|
begin
|
|
inc(OutputUnicode);
|
|
inc(OutputUnicode);
|
|
PreChar:=IBYTE;
|
|
PreChar:=IBYTE;
|
|
end;
|
|
end;
|
|
end
|
|
end
|
|
else
|
|
else
|
|
|
|
+*)
|
|
begin
|
|
begin
|
|
inc(OutputUnicode);
|
|
inc(OutputUnicode);
|
|
PreChar:=IBYTE;
|
|
PreChar:=IBYTE;
|