> Mattias G?rtner wrote: > example you could tell it that all strings should be utf-8 encoded. Of > course, you get into trouble if some user plays unfair but you could > still protect your code with some EnforceUTF8Encoding. It's exactly the
See earlier mail. Tiburon code shouldn't need mods. That will make sharing projects with Delphi too difficult. (and make FPC look cumbersome). Note that while I don't like the polymorphic string, it doesn't have to kill that, just in some compiler mode (possibly Tib compat) it should be possible to control the encoding that goes into routine. IOW if a module is declared in this mode, the compiler will call the force routine before the call or in the routine. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal