On Wed, Jul 23, 2014 at 9:49 PM, Dmitry Boyarintsev <
[email protected]> wrote:
> I'd think that "show" requires a definition here.
>
> For example in LCL application
>
> ShowMessage( utf8encode( WideString(#$00c1)));
> shows Á.
>
> In most unix consoles
> Writeln( WideString(#$00c1));
> would output the same character as well.
>
It worked like a charm!
I did:
var
s: WideString;
sl: TStringList;
begin
s := #$02229#$0FE00;
sl := TStringList.Create;
try
sl.Text := UTF8Encode(s);
sl.SaveToFile('test.txt');
finally
sl.Free;
end;
end;
And the content in 'test.txt' is ∩︀ (Windows/Linux).
Thank you very much Dmitry!
--
Silvio Clécio
My public projects - github.com/silvioprog
_______________________________________________
fpc-pascal maillist - [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal