[Lazarus] New Features for source editor

Lucas codedeep codedeep at hotmail.com
Mon Feb 23 05:54:42 CET 2009


On Sun, 22 Feb 2009 17:49:01 +0200
Reenen Laurie <rlaurie at gmail.com> wrote:

> This solution worked...
> 
>  s := stringReplace(s,chr(148),'"',[rfReplaceAll, rfIgnoreCase]);
>  s := stringReplace(s,chr(147),'"',[rfReplaceAll, rfIgnoreCase]);
>  s := stringReplace(s,chr(150),'--',[rfReplaceAll, rfIgnoreCase]);
>  s := stringReplace(s,chr(146),'''',[rfReplaceAll, rfIgnoreCase]);
> 
> However this car is also giving me issues: é
> There is not "equivalent"... only e...
> Or is that é and alt 130 (é) different?
> 
> But this must be a problem that's happened a lot before?  Not so?

The LCL unit lconvencoding contains a function to convert CP1250 to
UTF8:
CP1250ToUTF8


Mattias




More information about the Lazarus mailing list