On 20.10.2010 21:53, silvioprog wrote:
2010/10/20 Žilvinas Ledas <[email protected]
<mailto:[email protected]>>

        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

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to