[Lazarus] Unicode (was Re: cwstring in arm-linux)
Mattias Gaertner
nc-gaertnma at netcologne.de
Mon Oct 24 15:05:21 CEST 2011
On Mon, 24 Oct 2011 14:43:40 +0200
Michael Lutz <Michi_cc at gmx.net> wrote:
> Am 24.10.2011 12:15 schrieb Michael Schnell:
> > On 10/21/2011 01:26 PM, Michael Lutz wrote:
> >>
> >> Ever heard of decomposed characters?
> > Handling those in a computer program seems similar to having the
> > computer understand a philosophical text.
>
> So I guess a user wanting to enter 'e̊' in response to the prompt 'Please
> enter a single character' is clearly crazy? Even if that isn't a character
> in common natural languages, using it in a mathematical context for
> example isn't strange at all.
What mathematical context needs a prompt for a single character?
Mathematical papers often use symbols consisting of a 'single
characters' with all kind of marks. There is no rule to
use only one character per mathematical symbol.
> Hint: The above character has *no* precomposed form (and is made up from
> two code points), and a program that stores the response to such a prompt
> into a single Char/WideChar/etc variable will just fail silently.
Yes.
Mattias
More information about the Lazarus
mailing list