[Lazarus] Any chance of changing the LCL Unicode encoding to UTF-16?

Ivan P. Gan ivan at comchatter.com
Tue Aug 5 10:34:30 CEST 2008


Martin Schreiber wrote:
> On Tuesday 05 August 2008 09.47:01 Marco van de Voort wrote:
>   
>> On Tue, Aug 05, 2008 at 08:50:29AM +0200, Martin Schreiber wrote:
>>     
>>> With UCS2/utf-16 on the other hand *all* current users of MSEgui can
>>> store *all* the codepoints they need in a single utf-16 word
>>>       
>> ?? Martin, can you make a formal statement about what MSEGUI now supports?
>> I keep getting the feeling you only support UCS-2.
>>
>>     
> MSEgui doesn't care about surrogate pairs at the moment, they are handled as 
> two consecutive (unknown) single characters. If the users need codepoints 
> above the BMP they can store it in widestrings in utf-16 encoding but MSEgui 
> will not show it correctly on the screen. BiDi isn't supported neither BTW. 
> Surrogate pair handling can be implemented in the MSEgui screen and edit 
> functions later if necessary.
> My point is that none of the current MSEide+MSEgui users need codepoints above 
> the BMP so I don't want to complicate and slowdown internal stringhandling 
> for a feature nobody needs at the moment.
> BiDi is probably more important but difficult to implement for me because I 
> have no knowledge in right to left languages.
>
> Martin
> _______________________________________________
> Lazarus mailing list
> Lazarus at lazarus.freepascal.org
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
>   
Hi Martin,
If you need string samples, Hebrew & Mixed text, I can get that for you
Also, as my web sites are multi-lingual, I have some knowledge of the 
subject & will be happy to help, if I can
Regards
Ivan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20080805/0ab797a3/attachment-0007.html>


More information about the Lazarus mailing list