I have a structure that has a field AñoFacturaGlobal. If we regenerate the _Intf using rodl2code then the files are correctly generated. If we do that from Service Builder then we get A_oFacturaGlobal instead.
I though it might be something related to encoding, but the files generated by Service Builder are UTF8-BOM encoded so at least it’s not on the “final step” of the recording that the character was mangled.
We should really migrate all to UTF-8. iIt’s not 1984 anymore, and"what is your system locale" should not be a question anyone shoudl ever have t think about…
pay attention that ServiceBuilder is Delphi 7 application so don’t expect from it more …
However Delphi IDE can generate AñoFacturaGlobal w/o any issues:
So, only ServiceBuilder generates the invalid char?
We know rodl2code works fine, but I haven’t tried with the IDE. We rarely use that option. We can work with the rodl2code, although it would be better to have the same output from all the possible code generation paths.
I’ve removed limitation for using only latin chars and numbers (i.e.A-Z, a-z, 0-9 and _) as idents.
ServiceBuilder is Delphi 7 (i.e. non-unicode) application and it uses string ( = AnsiString) for storing idents. as a result, if your non-unicode locale supports accented vocals, SB will support it too.
for example, my non-unicode locale doesn’t support ñ so SB will generate AñoFacturaGlobal as AnoFacturaGlobal instead of A_oFacturaGlobal.