Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2008-07

Tiburon and unicode rtl

6 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Felipe Monteiro de Carvalho

Hello,

Ok, so far we have a couple of unicode rtl proposals. Will FPC remain compatible with code from Tiburon?

If yes, then we need a set of utf-16 RTL routines, even if another solution is chosen. Yes, surely the utf-16 routines could just call the other routines and do a string conversion, if necessary, but they would need to exists anyway, specially because var parameters need to match exactly.

Felipe Monteiro de Carvalho
Marco van de Voort
to Felipe Monteiro de Carvalho
Show quoted text 8 lines
Ok, so far we have a couple of unicode rtl proposals. Will FPC remain compatible with code from Tiburon? If yes, then we need a set of utf-16 RTL routines, even if another solution is chosen. Yes, surely the utf-16 routines could just call the other routines and do a string conversion, if necessary, but they would need to exists anyway, specially because var parameters need to match exactly.

See my earlier reply. A few var parameters need to be overriden, that's it.

Felipe Monteiro de Carvalho
to Marco van de Voort
Marco van de Voort wrote
See my earlier reply. A few var parameters need to be overriden, that's it.

Ok, this is very good. So it doesn't matter which system will be choosen I can still assume that the rtl uses a single unicode encoding: utf-16 in utf16string

Felipe Monteiro de Carvalho
Marco van de Voort
to Felipe Monteiro de Carvalho
Show quoted text 6 lines
On Tue, Jul 1, 2008 at 10:35 AM, Marco van de Voort wrote: > See my earlier reply. A few var parameters need to be overriden, that's it. Ok, this is very good. So it doesn't matter which system will be choosen I can still assume that the rtl uses a single unicode encoding: utf-16 in utf16string

Almost. You can transparantly pass utf-16 strings to it. It might insert conversions.

Andrew Haines
to Felipe Monteiro de Carvalho: Ok, so far we have a couple of unicode rtl proposals. Will FPC remain compatible with…
Felipe Monteiro de Carvalho wrote 11 lines
Hello, Ok, so far we have a couple of unicode rtl proposals. Will FPC remain compatible with code from Tiburon? If yes, then we need a set of utf-16 RTL routines, even if another solution is chosen. Yes, surely the utf-16 routines could just call the other routines and do a string conversion, if necessary, but they would need to exists anyway, specially because var parameters need to match exactly.

Does gnu pascal have fpc compatible strings? or are they the same as strings in {$mode fpc}

Regards,

Andrew