Jonas Maebe het geskryf:
> 
> The way to implement stuff like that is to call the appropriate  
> library functions. It makes no sense to completely re-implement  
> everything in the RTL.
> 
> Such API-calls can of course be wrapped by the RTL, similar to the way  
> there are already function such as sysutils.ansicomparestr()/ 

Yes, I would imagine we have something similar to that. It would seem
the most logical and like you mentioned, keep backward compatibility and
speed for non-unicode RTL functions.

 eg: sysutils.unicomparetext()

Internally, this function could normalize the text first and then do
some comparison, etc...


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to