[Lazarus] Adding codepage-support to the RTL (making LConvEncoding obsolete)

Sven Barth pascaldragon at googlemail.com
Fri Dec 3 16:19:35 CET 2010


Am 03.12.2010 15:11, schrieb Guy Fink:
>
>>> We had this discussion in September.
>>
>> Yes, so I was curious to see your progress on this front in 3 months.
>>
>>> I think there is no need to repeat this again.
>>
>> Well. I hope I made clear in September I'm not going to commit anything
>> without this is being fixed, so submitting this report was IMHO a bit
>> premature.
>>
>>> I will add a replacement for charset, using the codepages unit, so
>>> existing code will still work.$
>>
>> I prefer a patch that extends the current unit, not a new unit. It's
>> hard to
>> evaluate of an entire 3rd party product is truly backward compatible.
>> (and
>> charset has been in FPC for ages, so must be supported fully backwards
>> compatible)
>
> What do you mean with "fully backwards compatible"? That function header and syntax is the same, or that charset is a holy cow where no byte may be changed?
>

I believe he means the interface part of the unit and also the semantic one.

E.g.
"B := functionXYZ(A);"
in the old unit should calculate the same B for the same A in the new unit.

Regards,
Sven




More information about the Lazarus mailing list