To be honest, and with all due respect to your personal choice, I
look at your code and think "This is Pascal. I don't want to spend
time reading Pascal."
You don't need to answer my questions if you don't want to.
I can live better without comments with prejudice. Do you really think
this kind of comment is addequate on a technical discussion?
I will avoid commenting further because this can only lead away from my problem.
I can't help but wonder why you want to do this. Hardcoding strings
the way you have in your example is considered bad practice.
This is just an example program to illustrate the problem. The code it
contains comes from a huge application (hundreds of thousends of lines
of code), so I tryed to simplify the problem.
I seem
to recall that you want to do this will strings supplied at runtime,
which could behave differently than strings you're hardcoding if your
compiler doesn't handle them the way you expect.
The compiler does not modify my strings AFAIK. Just to be extra sure,
I will build a software to print my string byte-by-byte, so I am 100%
sure he really didn't modify it. FPC doesn't care which encoding I
use. I've already written lot's of UTF-8 programs with Free Pascal,
and never had any problems. The only difference is that they were
running on Windows, Linux, FreeBSD and Windows CE.
thanks,
--
Felipe Monteiro de Carvalho
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden