[Lazarus] How to jump to start of function

Frank Church vfclists at gmail.com
Thu Oct 21 01:17:33 CEST 2010


On 20.10.2010 21:53, silvioprog wrote:
> 2010/10/20 Žilvinas Ledas <zilvinas.ledas at dict.lt
> <mailto:zilvinas.ledas at dict.lt>>
>
>         Standard unicode characters:
>
>         ǝ - $01DD (in latin extended-b subset)
>         ɐ - $0250 (IPA extensions subset)
>         ɯ - $026F (IPA extensions subset)
>
>
>
> How to convert from $01DD to ǝ? (e.g. 'AnyFPCFunction'($01DD); returns ǝ)
>
> Thanks ;)

If you're using Lazarus you can do

Canvas.TextOut(x, y, Utf8Encode(#$01dd));

When you're using Linux and you want to print on a utf8 stdout you can use

Writeln(Utf8Encode(#$01dd));

Utf8Encode(WideString) converts an UTF-16 (fixed character length) 
string to an UTF-8 (dynamic character length) string (Utf8Decode is the 
reverse).

Regards,
Sven




More information about the Lazarus mailing list