<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/>
</head>
<body>
<p style="margin: 0;">
<span>
<span></span>
</span>
</p>
<p style="margin: 0px;"></p>
<div style="margin: 5px 0px 5px 0px;">
<br/>
Michael Schnell <mschnell@lumino.de> hat am 20. Oktober 2011 um 15:10 geschrieben:
<br/>
<br/>
> On 10/20/2011 02:55 PM, Felipe Monteiro de Carvalho wrote:
<br/>
> > On Thu, Oct 20, 2011 at 2:54 PM, Michael Schnell<mschnell@lumino.de> wrote:
<br/>
> >> All others are fooled.
<br/>
> > This is not true. My students from the 2nd year of engineering learned
<br/>
> > alone how to use UTF-8 properly.
<br/>
>
<br/>
> That is exactly what I meant to say. Those who do learn how to deal with
<br/>
> Unicode might be very happy to keep in mind the Unicode encoding with
<br/>
> all string operations.
</div>
<p style="margin: 0px;"> </p>
<p> </p>
<p style="margin: 0px;"> </p>
<div style="margin: 5px 0px 5px 0px;">
>
<br/>
> And if your opinion is that everybody, who wants to program with
<br/>
> Lazarus, is happy when he also learns the ways of Unicode, I will not
<br/>
> contradict.
<br/>
>
<br/>
> But IMHO Lazarus should be (at least) as easy to use as Java and friends
<br/>
> and not provide additional traps for the Unicode-illiterates.
</div>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">What Java do you have in mind?</p>
<p style="margin: 0px;">Last time I used Oracle/Sun Java it still used 2byte char and you need to set the compiler/IDE to UTF8, otherwise your source code is not portable. We have a lot of students writing java programs under Windows, then wondering why their programs create garbage under Linux. Often they say: Linux has problems with unicode. Reason: teachers think that unicode is so simple under java, so they don't explain it.</p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;"> </p>
<div style="margin: 5px 0px 5px 0px;">
>
<br/>
> (I once proposed to drop the support for myString[i] or for the "char"
<br/>
> type altogether to prevent some of these traps, but supposedly this is a
<br/>
> silly idea.)
</div>
<div></div>
<div>If you have students that stupid, then don't tell them about the [] operator.</div>
<div></div>
<div>Mattias</div>
<div></div>
</body>
</html>