[Lazarus] Proposal: Allow Umlaute and Accented Characters in Identifiers

Péter Gábor ptrg at freemail.hu
Fri Jul 3 14:55:38 CEST 2020


Hi!

Then you must allow Cyrillic,d Arabic and so Chinese and other national
and special characters to be used in identifiers.
There was a thread about this issue on the list (or maybe on fpc's one)
and (as I can remember) the conclusion was that it's a bad idea.
To keep source codes universally readable and understandable the special
and national characters must be avoided in the language itself (and so
in identifiers).


2020. 07. 03. 14:09 keltezéssel, Special via lazarus írta:
> Hi,
>
> we have many Delphi programs with identifiers containing parts like
> 'Köln' and 'Liège'. These programs we want to convert to Lazarus.
> Unfortunately, Lazarus (or FP) seems not to be able to use identifiers
> with umlaute and accents. Maybe the reason for this could be pure
> historical and stem from the pre Unicode epoche.
>
> Manually chanching all those identifiers and modifying the references
> to them is not very elegant. By the way: Using the international names
> of cities instead of their orginal names introduces new difficulties.
> The international name of 'München', for instance, is 'Monaco', the
> same name as that for the Grimaldi Imperium.
>
> Circumscribing is also no option. The name of Müllerstadt is
> 'Müllerstadt' and not 'Muellerstadt'.
>
> Could Lazarus (and/or maybe Free Pascal) be improved to tolerate those
> identfiers?
>
> Regards  --  Joe

-- 
Péter Gábor
ptrg at freemail.hu




More information about the lazarus mailing list