[fpc-devel] Re: enumerators
mschnell at lumino.de
Wed Nov 17 12:23:57 CET 2010
On 11/17/2010 12:02 PM, Marco van de Voort wrote:
> In our previous episode, Michael Schnell said:
>>> Only the ones where surrogates really matter.
>> Is is really viable to have the compiler/RTL try to automatically handle
>> these ugly beasts,
> It is not viable not to. Either you implement unicode or not.
> It's an users own choice to not be unicode compliant in his apps (e.g. if he
> knows he never goes to the Eastern Asiatic market etc), but a runtime should
> be as unicode compliant as reasonably possible.
Regarding that handling surrogate pairs needs tables while UTF/UCS
handling can be done by simple algorithms and that (AFAIK) surrogate
pairs are used only in certain environments (Mac and what else ?) I
think that viability is not an easy decision.
More information about the fpc-devel