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

Special special at joepgen.com
Fri Jul 3 14:09:47 CEST 2020


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


More information about the lazarus mailing list