[fpc-pascal] problems using utf8toansi

Marc Santhoff M.Santhoff at t-online.de
Mon Dec 10 08:53:38 CET 2007


Am Sonntag, den 09.12.2007, 21:38 +0100 schrieb Jonas Maebe:
> You can compile with -al and search for CWSTRING in the assembler file  
> generated for your main program. Since that unit has an initialization  
> section, it will be in the init/final table if it's included somewhere.

Another try:

$ nm dom.o

revealed at least:

...
         U FPC_WIDESTR_DECR_REF
         U FPC_WIDESTR_INCR_REF
...
         U fpc_widestr_compare
         U fpc_widestr_concat
         U fpc_widestr_copy
         U fpc_widestr_decr_ref
         U fpc_widestr_setlength


so however it is done, DOM does seem to use widestrings IMHO.

Marc





More information about the fpc-pascal mailing list