I encounted a strange behavior of a4d v6.0r5. (strange at least for me).

I have updated from a4d v5.latest to v6.latest and converted all my source
file from ANSI to UTF-8 (strange enough: my source files worked well in v5
but needed to be converted to UTF-8 for v6, even when in both versions the
platform charset variable was not set, thus defaults).

But my included .a4l-Files had to be encoded to "UTF-8 without BOM". A
simple conversion to UTF-8 (inserting the byte order mask) raised the
following syntax error:

Active4D error
Source  Method  Line
/C/Datenbanken/ewms.4dbase/web/timecard/timecard.a4d    [main]  3
/C/Datenbanken/ewms.4dbase/web/timecard/inc/pagestart.a4d       [main]  4
/C/Datenbanken/ewms.4dbase/web/timecard/libs/tclib.a4l  [main]  1
)library "tclib"     <--------- LOOK AT THE TRAILING OPENING BRACKET
Invalid identifier
Active4D 6.0r5 [Windows, release, 32-bit]


Another side effect I got was when I had my source files in UTF-8, it
displayed in wrong font sizes on the screen. After converting everything to
UTF-8-without-BOM, all worked well.


It seems that the UTF support is only available when the Byte-Order-Mask
(BOM) is omitted, which excludes some text editors that add the BOM for UTF
files.


Is that intented?

  Peter


--
Angaben gemäß §35a GmbH-Gesetz:
ITServ GmbH
Sitz der Gesellschaft: 55294 Bodenheim/Rhein
Eingetragen unter Registernummer HRB 41668 beim Amtsgericht Mainz
Vertretungsberechtiger Geschäftsführer: Peter Bauer, 55294 Bodenheim
Umsatzsteuer-ID: DE182270475
_______________________________________________
Active4D-dev mailing list
[email protected]
http://list.aparajitaworld.com/listinfo/active4d-dev
Archives: http://active4d-nabble.aparajitaworld.com/

Reply via email to