<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-2" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<blockquote cite="mid:49003954.9040001@freepascal.org" type="cite">
<pre wrap=""><!---->
The compiler definitively eats no ucs-2 encoded sources.
</pre>
</blockquote>
I did check several times: My source file looks like this when I open
it with Ultra-Edit and tell to show it in Hex:<br>
FF FE 75 00 6E 0069 00 74 00 20 00 55 00 6E 00 ..u.n.i.t. .U.n.<br>
<br>
Now I created a Delphi program and read the file with TFileStream.<br>
<br>
Now I found a utf-8 coded information without a BOM.<br>
<br>
So Windows seems to play some nasty tricks on us. Supposedly FPC reads
the file in a similar way as TFileStream and thus the compiler in fact
sees utf8. <br>
<br>
All this is really nasty stuff !!!<br>
<br>
-Michael<br>
<br>
</body>
</html>