[fpc-devel] Unicode RTL
XHajT03 at mbox.vol.cz
Wed Nov 16 14:58:30 CET 2005
Marco van de Voort napsal(a):
>> Dani?l Mantione wrote:
>> > pos('?','Dani?l');
>> > ... has a different implementation for utf-8 and 8-bit code pages.
>> Why? With utf-8 a string is searched, with 8-bit cp one char. No other
>> char/sequence of char other than ? can generate the byte sequence
>> representing ?
> const s : 'Dani?l';
> var accent : utf8char;
We could have special support for assignment to type utf8char, couldn't we?
More information about the fpc-devel